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.
It's a bug, I've been having problems with it too.
game.Players.PlayerAdded:connect(function(Player) wait(0.25) --It waits for it to load. Player.TeamColor = BrickColor.new("Institutional white") Player.Neutral = false end)