player.spawn

Description

Used to spawn the player into the world.

Best paired with player.model when spawning players.

Syntax

spawn(x: number, y: number, z: number, delay: number): void;

Real World Example

// x, y, z, delay in milliseconds
player.spawn(0, 0, 0, 25000); // Fires after 2.5 seconds

results matching ""

    No results matching ""