local function highlightCharacter(player) if player == game.Players.LocalPlayer then return end local character = player.Character or player.CharacterAdded:Wait() local primaryPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("UpperTorso") if primaryPart then local highlight = Instance.new("Highlight") highlight.Parent = character highlight.Adornee = character highlight.FillColor = Color3.fromRGB(255, 0, 0) -- Red fill color highlight.OutlineColor = Color3.fromRGB(255, 255, 255) highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0.2 highlight.Enabled = true end end for _, player in pairs(game.Players:GetPlayers()) do player.CharacterAdded:Connect(function() highlightCharacter(player) end) if player.Character and player ~= game.Players.LocalPlayer then highlightCharacter(player) end end game.Players.PlayerRemoving:Connect(function(player) if player.Character then local highlight = player.Character:FindFirstChildOfClass("Highlight") if highlight then highlight:Destroy() end end end)