
Key Required VerifiedUniversal

local function ensureHighlight(model)
if model:IsA("Model") and model.Name == "Male" then
local highlight = model:FindFirstChildOfClass("Highlight")
if not highlight then
-- Create new Highlight
highlight = Instance.new("Highlight")
highlight.Name = "AutoHighlight"
highlight.FillColor = Color3.fromRGB(255, 255, 0) -- yellow (change if you want)
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
highlight.Parent = model
end
end
end
for _, obj in ipairs(workspace:GetDescendants()) do
ensureHighlight(obj)
end
workspace.DescendantAdded:Connect(function(obj)
ensureHighlight(obj)
end)
workspace.DescendantRemoving:Connect(function(obj)
if obj:IsA("Highlight") and obj.Parent and obj.Parent.Name == "Male" then
task.wait() -- wait a frame so removal completes
if obj.Parent then
ensureHighlight(obj.Parent)
end
end
end)
![Sir Meme Hub | [16 GAMES] [$14.99 LIFETIME] | FARM/AIM/ESP](https://scriptblox.com/images/sb/-1-1791044877945.webp)


nice script, but can you add like if the enemy on sight the color will yellow and if the enemy is offsight the color will red or something else? thank you though