Respawn player when it collides with ai

So I made a simple ai that is following the player

and I want to make it so that my player respawn when it collides with the ai

Destroy the current character and spawn a new one (and don’t forget to possess it). Example: