wait(5)
game:GetService('Players').PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
player.TeamColor = BrickColor.new("Really blue")
end)
end)
end)
I have this script which switches players teams from Bright blue to Bright red after 5 seconds. The players get switched to Bright red but errr, after they die they dont switch back to Bright blue. :/ And Bright blue is set as an auto assignable team. Help anyone? :/

3 comments
Why does the code say "Really black" if the color is "Bright blue" :|
The bright blue spawn shouldn't be auto assignable if I remember correctly. I think all spawns need to be autoassignable false and you need to make your own team assignment system. so basically when the player joins you set their team with the script then change it when they die. Also make sure that their team is not neutral.
Use "@AZDev" to send a notification to me if you have further questions.