Skip to content

Team

Inherits Instance

Team is an object that represents a player team to which players can be assigned.

Properties

DisplayName : string

Display name for this team

Color : Color

Color for this team

Methods

GetDisplayName → string

Parameters: ``

Returns the display name of the team. If DisplayName is specified, it returns DisplayName; otherwise, it returns Name.

GetPlayers → { Player }

Parameters: ``

Get all players assigned to this team.