I am quite confused here, I am playing around with teams. I do not know what to do to make someone in a team, with this script
a = Instance.new("Team", game:GetService'Teams')
a.Name = "TeamExample"
a.TeamColor = BrickColor.Random()
I am quite confused here, I am playing around with teams. I do not know what to do to make someone in a team, with this script
a = Instance.new("Team", game:GetService'Teams')
a.Name = "TeamExample"
a.TeamColor = BrickColor.Random()
local a = Instance.new("Team", game:GetService'Teams')
a.Name = "TeamExample"
local newTeamColor = BrickColor.Random()
a.TeamColor = newTeamColor
--Edit the following for your own needs
Game.Players.PlayerAdded:connect(function(plr)
plr.TeamColor = newTeamColor
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.