So, I have 2 teams. A & B. In this case, once one of the teams get to 3 or more, it will change them to the other team, and will display a message for a short time. I changed the value to > 0, and went in Play solo. It worked fine. But when I go into a game with 3 players, and try it, the message is displayed, but the team switch doesn't happen.

Here's the code:

if teamAColor == BrickColor.new("Lime green") and teamANum > 2 then
	full.Visible = true
	wait (0.5)
	game.Players.LocalPlayer.TeamColor = BrickColor.new("Bright blue")
	workspace.LoadCharacter:FireServer()
	wait(1)
	full.Visible = false
end
end

Thanks!

1 comment

0

Do you have filtering enabled? Anyway, you should probably change team in similar way to how you load the character.