Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function indicatePlayers(char)
- if not char:FindFirstChild("SelectionBox") then
- local box = Instance.new("SelectionBox")
- box.Color3 = Color3.fromRGB(168, 23, 23)
- box.Adornee = char
- box.Parent = char
- end
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- for i, plr in pairs(game.Players:GetPlayers()) do
- if plr ~= game.Players.LocalPlayer then
- local char = plr.Character or plr.CharacterAdded:Wait()
- indicatePlayers(char)
- end
- end
- end)
RAW Paste Data