I was trying to make 2 buttons which would turn on or off the generators.
But if you know LUA and isn't a beginner, You can see that I pretty much screwed up.
function onClicked(playerWhoClicked) game.Lighting.Ambiet = [0,0,0] end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
There wasn't anything in the Output related to this.

2 comments
Can you put your code in a code block.
Use a code block