Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how do i make a point light turn on and off quickly?

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

2 answers

✓ Accepted answer

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.