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

Why does my script not work?

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

✓ Accepted answer

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

2 comments

0

Thanks Man!

0

Your welcome, if I've helped, please select my answer as the correct answer. Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.