Advertisement
AomsinloveNammon

roblox The skin walker Mimic detect

Sep 8th, 2024
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.76 KB | Gaming | 0 0
  1. local workspace = game.Workspace
  2.  
  3. function highlightMimic()
  4.     for _, child in pairs(workspace:GetChildren()) do
  5.         if child.Name == "Mimic" then
  6.             -- Check if a highlight already exists to avoid duplicates
  7.             if not child:FindFirstChild("Highlight") then
  8.                 local highlight = Instance.new("Highlight", child)
  9.                 highlight.FillColor = Color3.new(255, 0, 0) -- Yellow highlight color
  10.                 highlight.OutlineColor = Color3.new(255, 255, 0)
  11.             end
  12.         end
  13.     end
  14. end
  15.  
  16. -- Run the highlighting function initially
  17. highlightMimic()
  18.  
  19. -- Create a repeating loop to continuously check for new Mimic models
  20. while true do
  21.     task.wait(0) -- Adjust the wait time as needed
  22.     highlightMimic()
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement