oh no, i just wanna reset some variables and a camera note.
i get the following Error " Attempt to call function “add_child” in base null instance on a null instance.
It means that get_tree().root is null, I am not sure what you want to do, but if you want to add camera to current scene then you can use get_tree().current_scene, if in player, then define a player variable in main script and use get_tree().current_scene.player