Godot tutorial, it was made for Godot 4 but will work for Godot 3 too. The only difference with Godot 3 is that you will need to use is_instance_valid() to test if the player exists, in Godot 4, an invalid instance will be equal null.
Explaining how to make an object spawn another object
In this case the player spawned would respawn the player when it is destroyed.
Respawning of object, respawning of player
Patreon: / c64cosmin
Support me: https://store.steampowered.com/app/38...