I'm trying to make a personal minigame where if I join I'll be sorted into a team. How can I do this?
COMMUNITY QUESTION
How can I change someone's team depending on their username?
1 answer
game.Players.PlayerAdded:connect(function(newplayer)
if newplayer.Name == "COOLKENu" then
newplayer.TeamColor = BrickColor.new("") -- Put team color in here
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
