Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local workspace = game.Workspace
- function highlightMimic()
- for _, child in pairs(workspace:GetChildren()) do
- if child.Name == "Mimic" then
- -- Check if a highlight already exists to avoid duplicates
- if not child:FindFirstChild("Highlight") then
- local highlight = Instance.new("Highlight", child)
- highlight.FillColor = Color3.new(255, 0, 0) -- Yellow highlight color
- highlight.OutlineColor = Color3.new(255, 255, 0)
- end
- end
- end
- end
- -- Run the highlighting function initially
- highlightMimic()
- -- Create a repeating loop to continuously check for new Mimic models
- while true do
- task.wait(0) -- Adjust the wait time as needed
- highlightMimic()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement