how to create load a scene in godot gdscript code example
Example 1: godot instancing scene through gdscript
var scene = load("res://scenes/MyScene.tscn")
var scene_instance = scene.instance()
add_child(scene_instance)
Example 2: godot load scene
get_tree().change_scene("res://path/to/scene.tscn")