how to restart current scene in godot code example
Example 1: how to reload current scene godot
get_tree().reload_current_scene()
Example 2: godot restart scene
get_tree().reload_current_scene()
get_tree().reload_current_scene()
get_tree().reload_current_scene()