So i am planning to make an horror game. I don't know to script very well. I just wanna add a feuture that detects when a player is in the server, And make everything red when the player is in the server. (You don't have to make everything red tho, i know how to do that. )
I don't know how to script like this. Maybe some help?
Sorry for my bad english.

8 comments
Can you please explain to him what this means and how it works so he understands it?
literally it just makes the outdoor ambient red, making it "look" like everything is red
Can you also turn the ambient back to narmal when he leaves?
And explain it in depth?
This script checks if any of the players are this person, and if so, turn ambient color to red
But please change it so the ambient goes back to normal when the player leaves.
Ok!
I think the script itself is pretty self-explanatory. Doesn't really need explaining. PlayerAdded, as in player joined the game, use an if statement to check for a name then if name is found, edit the lightning outdoor ambient.