Welding a dead player to an alive player kills them

Try using physics instead, humanoids generally use break joints on death which causes the dying issue: