Player:SetTeam(Player, number)

server
Change the team for the player.

Arguments

Examples

Player:SetTeam – Change the team for the player.