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

Can someone help me with color3 please?

Asked by 8 years ago

I am trying to make my OutdoorAmbient go darker for a game theme via script, but it keeps giving me an error when I do it. Can someone help me fix this issue? My code is:

game.Lighting.OutdoorAmbient = Color3.new(100,100,100)
wait()
game.Lighting.OutdoorAmbient = Color3.new(90,90,90)
wait()
game.Lighting.OutdoorAmbient = Color3.new(80,80,80)
wait()
game.Lighting.OutdoorAmbient = Color3.new(70,70,70)
wait()
game.Lighting.OutdoorAmbient = Color3.new(60,60,60)
wait()
game.Lighting.OutdoorAmbient = Color3.new(50,50,50)
wait()
game.Lighting.OutdoorAmbient = Color3.new(40,40,40)

1 answer

Log in to vote
0
Answered by
Vezious 310 Moderation Voter
8 years ago
game.Lighting.OutdoorAmbient = Color3.new(100/255,100/255,100/255)
wait()
game.Lighting.OutdoorAmbient = Color3.new(90/255,90/255,90/255)
wait()
game.Lighting.OutdoorAmbient = Color3.new(80/255,80/255,80/255)
wait()
game.Lighting.OutdoorAmbient = Color3.new(70/255,70/255,70/255)
wait()
game.Lighting.OutdoorAmbient = Color3.new(60/255,60/255,60/255)
wait()
game.Lighting.OutdoorAmbient = Color3.new(50/255,50/255,50/255)
wait()
game.Lighting.OutdoorAmbient = Color3.new(40/255,40/255,40/255)

I've forgotten to do what you forgot plenty of times.

0
Thanks so much! OfficerPapasman 2 — 8y
Ad

Answer this question