Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does my script not work?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
while true do game.Lighting.OutdoorAmbient= 177,177,177
game.Lighting.OutdoorAmbient=170,0,255 wait (1)
game.Lighting.OutdoorAmbient=255,170,0 wait (1)
game.Lighting.OutdoorAmbient=58,176,0 wait (1)
end

Whats wrong with it? I saw no errors in the script

1 answer

Log in to vote
0
Answered by
TopDev 0
9 years ago

Try this!

All you forgot was the brackets, and color3.new :)

while true do game.Lighting.OutdoorAmbient= Color3.new(177,177,177)
game.Lighting.OutdoorAmbient=Color3.new(170,0,255) 
wait (1)
game.Lighting.OutdoorAmbient=Color3.new(255,170,0) 
wait (1)
game.Lighting.OutdoorAmbient=Color3.new(58,176,0) 
wait (1)
end

0
Thanks Man! TheNstar 0 — 9y
0
Your welcome, if I've helped, please select my answer as the correct answer. Thanks! TopDev 0 — 9y
Ad

Answer this question