RBX.lua.SpawnLocation (Object)
From ROBLOX Wiki
The SpawnLocation object is a special type of brick that will make a player on the same team spawn at that location. These can be made as checkpoints, so that when a player touches it, they will change teams to the spawn location's team. They can also be set to auto assign people who join the game to a team. This will auto-balance people joining amongst the teams. A Team object of the same color will also be added into the Teams container when a spawn location is created.
Functions
In addition to the global functions, the SpawnLocation also has these functions:
Properties
In addition to the global properties, the SpawnLocation also has these properties:
- AllowTeamChangeOnTouch
- Anchored
- BrickColor
- CFrame
- CanCollide
- Controller
- ControllerFlagShown
- Duration
- Elasticity
- Friction
- Locked
- Neutral
- Position
- Reflectance
- RotVelocity
- Shape
- Size
- TeamColor
- Transparency
- Velocity
- formFactor
These properties have been changed or are no longer used:
Surfaces
Since the SpawnLocation is a 3D rendered object, it has surface properties and inputs. There is a Parameter A, B a Surface and a SurfaceInput for each of the 6 sides. Since they all work the same, they are only documented once. Simply place the name of the side in front of the property:
Events
In addition to the global events, the SpawnLocation also has these events:
