# Catch a fallen player: read the body's height, hand them to a Teleporter. for (P : GetPlayspace().GetPlayers(), Body := P.GetFortCharacter[]): Here := Body.GetTransform().Translation if (Here.Z < KillFloorZ, Who := Body.GetAgent[]): RespawnPad.Teleport(Who)