-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local plrs = game:GetService("Players") local rs = game:GetService("RunService") local core = game:GetService("CoreGui") local lp = plrs.LocalPlayer local target_container = (gethui and gethui()) or core local settings = { color = Color3.fromRGB(255, 50, 50), outline = Color3.fromRGB(0, 0, 0), team_check = true, -- change it to false if you want your teammate esp enabled = true } local function get_color(v) if v.Team then return v.Team.TeamColor.Color end return settings.color end local function handle_plr(v) local function inject(char) if not char then return end local tag = "hx_" .. v.UserId local h = target_container:FindFirstChild(tag) or Instance.new("Highlight") h.Name = tag h.Adornee = char h.FillColor = get_color(v) h.OutlineColor = settings.outline h.FillTransparency = 0.45 h.OutlineTransparency = 0 h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop h.Parent = target_container end v.CharacterAdded:Connect(inject) if v.Character then inject(v.Character) end end for _, v in next, plrs:GetPlayers() do if v ~= lp then handle_plr(v) end end plrs.PlayerAdded:Connect(handle_plr) rs.RenderStepped:Connect(function() if not settings.enabled then return end for _, v in next, plrs:GetPlayers() do local tag = "hx_" .. v.UserId local obj = target_container:FindFirstChild(tag) if obj then if v == lp or not v.Character or (settings.team_check and v.Team == lp.Team) then obj.Enabled = false else obj.Enabled = true obj.FillColor = get_color(v) -- if you want your outline color as teamcolor delete (--) below -- obj.OutlineColor = get_color(v) end end end end) plrs.PlayerRemoving:Connect(function(v) local tag = "hx_" .. v.UserId local obj = target_container:FindFirstChild(tag) if obj then obj:Destroy() end end)