team1 = game.Teams("Humans")
team2 = game.Teams("Aliens")
function OnDeath()
Player.TeamColor = team2
end
end
humanoid.Died:connect(OnDeath)
Im not sure if my script is correct,but if it isn't please help me. Im trying to make a script so that when a player dies he/her will go to team2
