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

How can I make this lighting and outdoor ambient color script work?

Asked by 6 years ago

What's wrong with my code? When I click a button, I want it to chance the ambient color. This is the line that has a problem I believe.

game.Lighting.OutdoorAmbient = "35, 35, 35"

1 answer

Log in to vote
0
Answered by
mattscy 3725 Moderation Voter Community Moderator
6 years ago
game.Lighting.OutdoorAmbient = Color3.fromRGB(35,35,35)
0
Thank you. TheBeaver101 28 — 6y
Ad

Answer this question