local Players = game.Players
local LP = Players.LocalPlayer
local DB = false
local function updateESP(player)
if player == LP or not player.Character then return end
local highlight = player.Character:FindFirstChild("Totally NOT Esp") or player.Character:FindFirstChild("Icon")
if not highlight then
highlight = Instance.new("Highlight", player.Character)
highlight.Name = "Totally NOT Esp"
highlight.Adornee = player.Character
highlight.Enabled = true
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.FillColor = player.TeamColor.Color
highlight.FillTransparency = 0.5
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
highlight.OutlineTransparency = 0
elseif getgenv().TC and player.TeamColor ~= LP.TeamColor then
highlight.Enabled = true
highlight.FillColor = player.TeamColor.Color
end
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(function() updateESP(player) end)
if player.Character then updateESP(player) end
end
for _, player in ipairs(Players:GetPlayers()) do
onPlayerAdded(player)
end
Players.PlayerAdded:Connect(onPlayerAdded)
while task.wait() do
for _, player in ipairs(Players:GetPlayers()) do
updateESP(player)
end
end
To embed this project on your website, copy the following code and paste it into your website's HTML: