This property sets the color of the
Team. Determines the
Player/TeamColor property of players who are a member of the team.
A lot of Roblox’s default team functionality is based on the team color, rather than the name or object. For example,
SpawnLocations can be assigned to a team via
SpawnLocation/TeamColor. For this reason it is recommended that developers ensure each
Team has a unique TeamColor.
Any player which is a part of a team will have their name color changed to the team’s TeamColor property. They will also be put underneath the team heading on the player list.
Team Only Door
The following code sample will create a door in the Workspace that can only be walked through by Players on the Bright red team.