PlayerAddedEvent of Players
RBXScriptSignal PlayerAdded (
Description: Fires when a player enters the game.
- Up until recently, this event didn't work on the client (in localscripts), but this has been changed
- This event does not work as expected in solo mode, because the player is created before scripts that connect to PlayerAdded run. To handle this case, as well as cases in which the script is added into the game after a player enters, create an OnPlayerAdded function that you can call to handle a player's entrance.