An event that contains more information about a player spawning.
export class PlayerSpawnAfterEvent { private constructor(); initialSpawn: boolean; player: Player;} Copy
export class PlayerSpawnAfterEvent { private constructor(); initialSpawn: boolean; player: Player;}
Private
If true, this is the initial spawn of a player after joining the game.
This property can't be edited in restricted-execution mode.
This property can't be read in early-execution mode.
Object that represents the player that joined the game.
An event that contains more information about a player spawning.
Source