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

Back again to this script?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

So I already got my script fixed for changing the fog color to a bluish color. Now, Im trying to do the same thing but for a different color, gray. I just don't know how to get the numbers to resemble gray. Heres the script:

function TOUCHY()
    game.Lighting.FogColor = Color3.new(0, 98/255, 1)  --It's supposed to be gray, but its making it blue.

script.Parent.Touched:connect(TOUCHY)

1 answer

Log in to vote
1
Answered by 9 years ago

The color code is wrong. Not sure how you worked the code out but still...

Try (100/255,100/255,100/255) Increase each 100 by the same amount to get a darker grey.

0
Thank you! blockhaak2 1 — 9y
Ad

Answer this question