while true do
script.Parent.SpotLight.Enabled = true
wait(.3) script.Parent.SpotLight.Enabled = false wait(.3) end
I'm new at scripting, I've only made this.
while true do
script.Parent.SpotLight.Enabled = true
wait(.3) script.Parent.SpotLight.Enabled = false wait(.3) end
I'm new at scripting, I've only made this.
You'd just reference the second light where i commented. I think this is all you want?
while true do
script.Parent.SpotLight.Enabled = true
script.Parent.Spotlight2.Enabled = false -- here
wait(.3)
script.Parent.SpotLight.Enabled = false
script.Parent.Spotlight2.Enabled = true -- and here
wait(.3)
end
Yes, thanks.
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
Uh, what?
Well, I want to make a button that turns on two flashing dynamic lights
Where's your attempt?
Dinoz, He's asking to have both the Blue and Red lights flash chronologically
Ah, makes sense.
Easy rep all day.