This script was used for my team change when dead.
game.Players.PlayerAdded:connect(function(plr)
plr.Neutral = false
plr.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
if plr.TeamColor == BrickColor.new("Bright red") then
plr.TeamColor = BrickColor.new("Bright Blue")
else
plr.TeamColor = BrickColor.new("Bright red")
end
end)
end)
end)
The problem is, whenever you die. It creates a new team called "Neutral" when they die. Does anyone know the problem?

9 comments
It still creates a team called "Neutral".
I will look into it
Two teams exist. Red & Blue. I want them to change to blue when they die. But it creates a team called "Neutral" when a player dies.
I updated the script make sure ur teams are called Red and Blue unless you change line 1 and 2
Red Team & Blue Team? Or just Red & Blue?
Just Red and JUst Blue
Okay, thanks! It worked :D One up.
you change the names by changing line 1 and line 2 at the end
and upvote me please