Hello, i started using godot like a week ago and im working on a simple game (obs watching tutorials on yt).
I have a Menu scene (which contains 3 buttons, Start, Option, Exit) and a World scene (which contains the Player/Monsters/Bushes etc). Selecting start will change the scene from Menu to World, if the player dies from the World to Menu. (works fine)
The problem is when i select Start button again, the player is not starting with the full HP like before.
The code is quite big so i'll use the Pastebin (i hope it's ok to do that) and some Printscreens to see how i organized the nodes.
Player script: https://pastebin.com/88UeKbdt
Player scene: https://imgur.com/a/gP8NNmZ
SceneTransition script: https://pastebin.com/7UJXyMv2
PlayerStats script: https://pastebin.com/T12XPtfW