Teleportation Problem(They did not get teleported back when it is the next wave)

Can someone body help me with this glitch,it is not working when there are two players in the match


This seems to not be working
One player game is working very well
My intent is to let two players be in the playing team,but it didnt teleport the other player in once the player died

how do i let them be on the playing team,so that the player can teleport to the arena.[Because the person is not being transported to the playing team,it didnt work]

Story : It did teleport them on wave 1, but when one player dies,it gets sent back to the lobby,but when it is wave 2,i want the player to be back on the arena