Roblox Wiki
Roblox Wiki

The SpawnLocation class inherits from Part. A SpawnLocation dictates where Player Characters initially spawn. SpawnLocations can also be used to determine where certain Teams spawn. If a player cannot spawn at any specific spawn location, they will be spawned at the center of the world.


Properties

AllowTeamChangeOnTouch: bool

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:SpawnLocation/AllowTeamChangeOnTouch.
  • Category: Teams.
  • Serialization: can save and load.
  • Thread safety: read safe

Duration: int

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:SpawnLocation/Duration.
  • Category: Forcefield.
  • Serialization: can save and load.
  • Thread safety: read safe

Enabled: bool

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:SpawnLocation/Enabled.
  • Category: Behavior.
  • Serialization: can save and load.
  • Thread safety: read safe

Neutral: bool

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:SpawnLocation/Neutral.
  • Category: Teams.
  • Serialization: can save and load.
  • Thread safety: read safe

TeamColor: BrickColor

Lua error in Module:MemberInfobox at line 238: attempt to index upvalue 'member' (a nil value).

This is a Property for making characters on a specific Team color load their Character on that SpawnLocation.

Example: if a Player is on the Team color red, that Player will spawn on the SpawnLocation with the TeamColor "red", if there is one.

External links:[]

  • Category: Teams.
  • Serialization: can save and load.
  • Thread safety: read safe

External links[]