
852 Views
107 Executions
Open Source ESP
Universal Script 📌
TruthfulJubiFirst script
7 months ago
Please login to perform these actions:Does it work?
No reports yetNo 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
--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
0Log in to join the conversation. Login
No comments yet. Be the first!







