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!
COMMUNITY QUESTION
How to put players into teams?!
1 answer
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")
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you! You have just made my day