how do i make a script where a point light turns on and off quickly like a strobe light
please comment below what you think
thanks
how do i make a script where a point light turns on and off quickly like a strobe light
please comment below what you think
thanks
this is another way:
while true do
script.Parent.PointLight.Enabled = true
wait(.1)
script.Parent.PointLight.Enabled =false
end
Well, to make it flicker off and on like a strobe, you'd probly change the wait() time, here are two examples;
wait(.01) --This waits 0.01 Mili-seconds.
wait(1/44) --This waits Mili-seconds too, but a only waits 0.022727272727273 Mili-seconds.
I hope this helped!
This discussion is preserved as it was. New answers, comments, and votes are closed.