I threw together a simple script that was supposed to change a player's team color on entry. It didn't work. I traced the problem down to the player's team color simply not changing. If I replaced the line that changed the team color with any other arguments, it would run. How do I change a player's team color on entry?
The script:
game.Players.PlayerAdded:connect(function(newPlayer)
if newPlayer:IsInGroup(311892) then
newPlayer.TeamColor = BrickColor.new("Really black")
end
end)
This isn't the exact script I used, but demonstrates what I did. There were no errors in the output.

6 comments
It doesn't matter with the team name "Really Black" You can change it up to whatever your group name is.
Information like that can be given simply by editing your answer. There's really no need to comment on your own answer.
I tried, but it did the same thing that my script did. The Join Script puts my player in the bottom team, and it never gets changed.
Apparently, nothing's working. It's a game issue. Even the automatic team-changing spawns don't work. The only way I can seem to change a player's team to Really Black is by doing it in Studio.
Never mind. Something was wrong with the team. I took it out and made a new team with the same settings, and it works just fine.
Lol just fixed syntax error.