so, i am trying to make a meeting/exams/class place, and i want to be able to assign people with their name. I have already tried this technique:
function setTeam(player, teamName) newPlayer.TeamColor = game.Teams[teamName].TeamColor if newPlayer.Character then
end
end
setTeam(game.Players.epicly2000, "?Academy?") setTeam(game.Players.proimaaz153, "?Academy?")
if someone could help me with this problem, it'd be greatly appreciated. Thank you!

2 comments
sorry, this was the code:
function setTeam(player, teamName) newPlayer.TeamColor = game.Teams[teamName].TeamColor if newPlayer.Character then end end