Could someone tell me why this script won't work? I have it under the PointLight so I can use "Parent" and the point light is 60 brightness and 60 range but it still won't work. Here is the script. It is supposed to be a strobe light that changes colors
Script.Parent.Color = LightColor
while true do
script.Parent.Enabled = true
wait(.01)
script.Parent.Enabled = false
Script.Parent.Color = Color.new(1004)--Really Red
wait(.01)
script.Parent.Enabled = true
wait(.01)
script.Parent.Enabled = false
Script.Parent.Color = Color.new("Deep Orange")
wait(.01)
script.Parent.Enabled = true
wait(.01)
script.Parent.Enabled = false
LightColor = Color.new("New Yeller")
script.Parent.Enabled = true
wait(.01)
script.Parent.Enabled = false
LightColor = Color.new(1020)--Lime Green
script.Parent.Enabled = true
wait(.01)
script.Parent.Enabled = false
LightColor = Color.new(1010)--New Blue I think
script.Parent.Enabled = true
wait(.01)
script.Parent.Enabled = false
LightColor = Color.new(1015)--Magenta
end
EDIT: This is not for a Night Club, just so you know...

2 comments
Thanks so much! Thanks for being honest with me!
You're welcome. I apologize if it came off rude. But I was just trying to help!