How do I add a player to a team via script so that its team is visible server-side?
1
local
player
=
--the player that you want to change teams
2
player.Team
game.Teams.redteam
--name of the team that you want them to change to ex:redteam