Implement teams

You can divide players in your game into multiple teams using the Teams service. By configuring the Teams service and assigning teams, players are automatically differentiated by their display name color, as well as their name in the default player list.

Add teams

By default, no teams are configured. To add teams:

  1. In the Explorer hierarchy, hover over the Teams object and click the icon to show a list of objects.

  2. Insert a new Team object under the Teams service.

  3. Select the new Team object and, in the Properties window, change the team Name and assign a unique matching TeamColor. A team's name and color both appear in the game's player list.

  4. Repeat these steps to add more teams.

Assign players to teams

By default, Roblox auto-assigns new players joining the game to the team with the fewest members, and you can still use the following steps to assign players to a specific team.

  1. Select each Team object in the Teams service to display its properties.

  2. Uncheck the AutoAssignable checkbox.

  3. Assign a player to a specific team by changing their Player.Team property to the team name in the format of Teams[TEAM_NAME], such as Teams["Blue Team"].

Team spawn locations

You can use SpawnLocation objects to spawn players of different teams at specific locations when they join or respawn. By default, SpawnLocations are neutral and any player can spawn upon them, so you need to lock each one to the team that can occupy it using the following steps:

  1. Using the Explorer, insert a new SpawnLocation into the workspace.

  2. With the new SpawnLocation selected, uncheck its Neutral checkbox in the Properties window.

  3. Set the spawn's TeamColor property to the TeamColor of an existing team. For example, if the intended team's Team.TeamColor is Lapis, set the spawn's SpawnLocation.TeamColor to Lapis as well.

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.