Finished custom respawn code