I'm trying to make a light flash repeatedly but it isn't working. This is the script I have inside the light.
Light = script.Parent
function FlashLights()
repeat
wait(math.Random(.2,2))
Light.Material = "Neon"
wait(.2)
Light.Material = "SmoothPlastic"
until false
end
It's probably an obvious mistake but there's no error messages and I'm confused about what I did wrong.
