This member cannot be used in scripts, but is usable in the command bar.
For thread safety, this property is not safe to read in an unsynchronized thread.
Players event fires when a player rejoins a game session after having disconnected prior. It indicates the
Player instance rejoining.
This event is not intended for wide use and will not work in
LocalScripts. Instead, you can use the
Similarly, if you want to track when a player’s character is added or removed from the game, such as when a player respawns or dies, you can use the
Player Connecting Disconnecting and Rejoining
This example demonstrates that the
Players/PlayerRejoining events fire when a player connects to, disconnects from, and rejoins the game. Each of the events fires a message with the player name and the action. For example, when a player connects to the game, the PlayerConnecting event prints:
This example will function as expected when executed in the command bar.