The flickering could be a simple while loop that waits a second, randomizes a number, and if it equals another number, then it turns the light brightness to a low value (so players can still see) and bring it back up. You would also want to change the material to something else other than neon and change the colour to black.
1 Like
Yes that was what i was going for
1 Like
Here is what the light script could look like.
local part = game.Workspace.Part
local light = part.light
while true do
wait(1)
local draw = math.random(1,10)
if draw == 1 then
light.Brightness = 1
wait(.1)
light.Brightness = 10
end
end
1 Like
Haha i was writing with math.random too