Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Back again to this script?

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

✓ Accepted answer

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.

1 comment

0

Thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.