if getgenv()._E3L then return end getgenv()._E3L=true getgenv()._EC={O=0,F=1,D=Color3.fromRGB(170,170,170)} local P=game:GetService("Players") local R=game:GetService("RunService") local C=game:GetService("CoreGui") local L=P.LocalPlayer local F=C:FindFirstChild("_EXC")or Instance.new("Folder") F.Name="_EXC" F.Parent=C local function TC(p) return p.Team and p.TeamColor.Color or getgenv()._EC.D end local function CC(p) local h=F:FindFirstChild(p.Name.."_H") if h then h:Destroy() end end local function ME(p) if p==L then return end CC(p) local function AC(c) if not c then return end local r=c:WaitForChild("HumanoidRootPart",9) if not r then return end local h=Instance.new("Highlight") h.Name=p.Name.."_H" h.Adornee=c h.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop h.FillTransparency=getgenv()._EC.F h.OutlineTransparency=getgenv()._EC.O local s=TC(p) h.OutlineColor=s h.FillColor=s h.Parent=F local u u=R.Heartbeat:Connect(function() if not p.Parent or not c.Parent or not r.Parent then h:Destroy() u:Disconnect() return end local k=TC(p) if h.OutlineColor~=k then h.OutlineColor=k h.FillColor=k end h.Enabled=true end) end p.CharacterAdded:Connect(AC) if p.Character then task.spawn(AC,p.Character) end end for _,x in ipairs(P:GetPlayers()) do ME(x) end P.PlayerAdded:Connect(ME) P.PlayerRemoving:Connect(CC)