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

i want to make a game that looks like a horror maze and i want to make players view foggy?

by that i mean i want to make the players view limited to like a few studs forwarding after that just dark or fog

2 answers

✓ Accepted answer

There are 2 properties inside the Lighting service that might interest you. FogStart and FogEnd.

2 comments

0

thank you but how do i make a script that turns the fog down when daytime?

0

Hey, you should use the GetPropertyChangedSignal function on the Lighting service checking the "TimeOfDay" property.

Set the game.Lighting.FogEnd to something like 100 and set the game.Lighting.FogColor to a dark color like 0,0,0

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