WHEN TRIGGER IS ENTERED BY PLAYER
Commands below the when trigger is entered by player line will execute when a player enters the trigger the script is attached to. The trigger must be configured to detect players.
The player who entered the trigger.
Example 1: Respawn trigger
This script is critical for respawning and teleporting players. It’s good practice to place a trigger like this below your world in case a player glitches out of a defined area.
Example 2: Set VOIP
This script enables a player to talk to everyone in the world by giving the player Global voice settings.