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)
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.