When a player joins, I've got a script that changes their TeamColor to the same colour as the 'Flight' team, and sets 'Neutral' to false. Very basic.
game.Players.PlayerAdded:connect(function(Player)
Player.TeamColor = BrickColor.new("Institutional white")
Player.Neutral = false
end)
However, it hasn't worked. This keeps happening. The name has only shown up correctly (under the Team) at random times when I test it, and after the one of the Player's Leaderstats values have been changed. Any help is appreciated, and thanks in advance. Also apologies if this is not exactly script-related, I was just unsure.

2 comments
Thanks.
It also happens when you insert a script using Kohl's admin and add a new team but you can fix it by using the :fix command.