Run it
Copy the script and paste it into your executor.
-- LocalScript
-- Function to highlight a player
local function highlightPlayer(player)
-- Ensure the player's character exists and has a HumanoidRootPart
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
-- Check if a Highlight object already exists to avoid duplicates
if not player.Character:FindFirstChildOfClass("Highlight") then
-- Create a new Highlight object
local highlight = Instance.new("Highlight")
highlight.Parent = player.Character
-- Customize the highlight properties
highlight.FillColor = Color3.fromRGB(255, , )
highlight.OutlineColor = .(, , )
Players = :()
_, player (Players:())
(player)
Players.PlayerAdded:((player)
player.CharacterAdded:((character)
(player)
)
)
Players.PlayerRemoving:((player)
player.CharacterRemoving:((character)
character:()
character:():()
)
)
U can see players to aim