Advertisement
OnFireRobloxScriptin

Flickering Lights

Apr 20th, 2025
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. --//Variables
  2. local light = script.Parent
  3. local spotlight = light.SpotLight
  4.  
  5. while true do
  6.     if math.random() < 0.1 then
  7.         spotlight.Enabled = false
  8.         task.wait(0.1)
  9.         spotlight.Enabled = true
  10.     end
  11.     task.wait(0.1)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement