how to change scene after player no health

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mikkensel

how to change scene after player no health

restarts the scene
get_tree().reload_current_scene
and look
https://forum.godotengine.org/24773/how-to-load-and-change-scenes

ramazan | 2022-09-18 08:02

:bust_in_silhouette: Reply From: kareem_farrag

I think this will help you

if health > 1 :
get_tree().change_scene(“res://path/to/scene.tscn”)