Thanks for playing! I'm sure I added an Area3D to the enemy so that when it gets close to the player, the level restarts. However, it seems like you encountered some kind of glitch.