
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LP = Players.LocalPlayer
function CreateHighlight(player)
if player.Character and not player.Character:FindFirstChild("Highlight") then
local highlight = Instance.new("Highlight")
highlight.Name = "Highlight"
highlight.Parent = player.Character
end
end
function UpdateHighlights()
for _, player in pairs(Players:GetPlayers()) do
if player ~= LP then
CreateHighlight(player)
if player.Character then
local highlight = player.Character:FindFirstChild("Highlight")
local pager = player.Character:FindFirstChild("Pager")
local magnum = player.Character:FindFirstChild("Magnum")
if pager then
highlight.FillColor = Color3.fromRGB(255, 0, 0) -- Red for Pager
elseif magnum then
highlight.FillColor = Color3.fromRGB(0, 0, 255) -- Blue for Magnum
else
highlight.FillColor = Color3.fromRGB(255, 255, 255) -- White for others
end
end
end
end
end
RunService.RenderStepped:Connect(function()
UpdateHighlights()
end)
Doesn't execute but I really like the people that helped me with the crimson shadow script they answered quick and everything 10/10