Universal Script 📌
852 Views
107 Executions

Open Source ESP

Universal Script 📌
TruthfulJubi
TruthfulJubiFirst script
7 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

ESP, M to activate. changes color depending on health: Green; Max - 60 Yellow; 59 - 31 Red; 30 - 1

View Raw
--esp
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer

local espEnabled = false
local highlights = {}

local function getHighlight(player)
    if highlights[player] then
        return highlights[player]
    end

    local h = Instance.new("Highlight")
    h.FillTransparency = 1
    h.OutlineTransparency = 0
    h.Parent = game.CoreGui
    highlights[player] = h
    return h
end

local function removeESP(player)
    if highlights[player] then
        highlights[player]:Destroy()
        highlights[player] = nil
    end
end

local function getHealthColor(hp)
    if hp <= 0 then
        return Color3.fromRGB(0, 0, 0)
    elseif hp <= 30 then
        return Color3.fromRGB(255, 0, 0)
    elseif hp <= 59 then
        return Color3.fromRGB(255, 255, 0)
    else
        return Color3.fromRGB(0, 255, 0)
    end
end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
7.5k
23.3k
Bumped 10 hours ago
Script hub
38.3k
166.3k
Bumped 10 hours ago

Script hub

Sp3arParvus

Script hub
148
8
Bumped 11 hours ago
Key System

Script hub

Zhonya Hub

Script hub
31.8k
7.6k
Bumped 13 hours ago
Key System
Paid
Universal Script 📌
257
17
Approved 14 hours ago