I am working a railway game and I want there to have a different fog colour when the player drives down the tunnel, How can I change the fog colour in a specific player’s device when they walk into a different area or touch a button?
I made something which makes this possible yesterday. There is a script in the StarterPlayerScripts and you can edit the fog properties in there. Tell me if you need more help.
--// check for when the player enters the tunnel and then:
game.Lighting.FogColor = Color3.fromRGB(0,0,0) --// this should turn the FogColor in black
--// and once player leaves the tunnel:
game.Lighting.FogColor = Color3.fromRGB(255,255,255) --// this should turn the FogColor to white