extends Node func _ready() -> void: loadGame() func loadGame(): G.resetValues() for i in get_children(): i.queue_free() add_child(load("res://scenes/game/mainGame/main_game.tscn").instantiate())