GetDefaultSpawn
The server’s spawn point from server.toml.
Syntax
Section titled “Syntax”GetDefaultSpawn()Returns
Section titled “Returns”number, number, number, number - the [spawn] section’s point as x, y, z, yaw
Example
Section titled “Example”local spawnX, spawnY, spawnZ, spawnYaw = GetDefaultSpawn()local lobby = CreateCircleZone(spawnX, spawnY, 12)See also
Section titled “See also”SetSpawnInfo · GetLevel · the Players group of the index
