Skip to Content

Teams

Read-only access to teams from client scripts.

local Teams = game:GetService("Teams")

Methods

GetTeams

Teams:GetTeams(): { Team }

Returns every team.

FindFirstChild

Teams:FindFirstChild(name: string): Team?

Returns the team with the given name, or nil.

Team

Name

team.Name: string

Color

team.Color: Color3

Score

team.Score: number

GetPlayerCount

team:GetPlayerCount(): number

Returns the number of players on the team.

On this page