Universal Script 📌
858 Views
153 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
Universal Script 📌
4.9k
91.6k
Bumped 5 hours ago
Universal Script 📌
5.0k
3.4k
Bumped 5 hours ago
Script hub
2.7M
830.0k
Bumped 7 hours ago
Key System

Script hub

#1 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
655
1.0k
Bumped 7 hours ago
Universal Script 📌
8.4k
15.6k
Bumped 8 hours ago
Universal Script 📌
1.4k
5.3k
Bumped 9 hours ago