I have two teams Criminals (Bright Orange) and Cops (Bright Blue) How would i move players from a lobby team into these two teams Thanks!
To change a player's team, you need to change their TeamColor
property which is a brickcolor value.
Simply set their TeamColor
property to the teamcolor of the team. Also make sure their Neutral
property is false.
local players = game:GetService'Players' local player = players:FindFirstChild'PlayerName' player.Neutral = false player.TeamColor = BrickColor.new("Bright blue")