Collapse Sidebar


Returns a list of Players who are assigned to the Team. A Player is considered assigned if their Player/Team property is equal to the Team and Player/Neutral is false.

This function has a number of potential uses, including counting the number of players on a Team or giving every Player on a Team a Tool.


Return Type Summary

An array of Players in the Team.

Code Samples

Teams GetTeams

The example below prints the number of players on each Team.