So, I have a little white block called 'Strobe' and I have a pointlight entitled 'strobe light' which makes the block light up. Using a script, can I make the light flash on/off to create a strobe light effect? It should probably go on every .2 second and turn off the same amount of time after. How can I do that?? EDIT Does this look right?
Game.Workspace.Strobe.strobelight.Enabled = Strobelight Strobelight = true wait(.2) Strobelight = false wait(.2)
Put inside the pointlight/spotlight
while true do wait(.2) script.Parent.Enabled = false wait(.2) script.Parent.Enabled = true end