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