How can I make my Paper 2D Enemy kill the player, then respawn?

I am also trying to do this, lol