local P,L=game:GetService("Players"),game:GetService("Players").LocalPlayer local function h(p)c=p.Character if c and not c:FindFirstChild("E")and c:FindFirstChildWhichIsA("Humanoid")then local x=Instance.new("Highlight")x.Name="E"x.FillTransparency=.5 x.FillColor=p.Team==L.Team and Color3.new(0,1,0)or Color3.new(1,0,0)x.Parent=c end end for _,p in ipairs(P:GetPlayers())do if p~=L then task.defer(h,p)end end;P.PlayerAdded:Connect(function(p)p.CharacterAdded:Connect(function()task.defer(h,p)end)end) while task.wait(1)do for _,p in ipairs(P:GetPlayers())do if p~=L then h(p)end end end