I'm making it so when you touch a certain brick, it changes the FogColor. But it wont change!!
Heres my script:
function TOUCHY() game.Lighting.FogColor = Color3.new(0, 175, 255) end script.Parent.Touched:connct(onTouched)
You forgot to change the function name in the connection. Also, Color3 values are out of 1, not 255.
function TOUCHY() game.Lighting.FogColor = Color3.new(0, 175/255, 1) --To normalize the values, just divide them by 255. The result will be less than or equal to one. end script.Parent.Touched:connect(TOUCHY)
Locked by 2eggnog, TofuBytes, Perci1, and Shawnyg
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?