New Game button not working

Godot Version

v4.2.2.stable.official [15073afe3]

Question

I followed a 2 year old tutorial but cant get the buttons to work, some user mentioned that the syntax has changed over the years

my question is sym,ply how can i bring the cript to load the gamescene?
extends Node

func _ready():
get_node(“MainMenue/MC/VB/NewGame”).signal_function.connect(“on_new_game_pressed”)
get_node(“MainMenue/MC/VB/NewGame”).pressed.connect(“on_new_game_pressed”)

get_node("MC/VB/Quit").signal_function.connect("on_quit_pressed")
get_node("MC/VB/Quit").pressed.connect("on_quit_pressed")

func on_new_game_pressed():
get_node(“MainMenu”).queue_free()
var game_scene = load(“res://Scenes/MainScene/GameScene.tscn”). instantiate()
add_child(game_scene)

func on_quit_pressed():
get_tree().quit()

It will be:

func _ready():
  get_node(“MainMenue/MC/VB/NewGame”).signal_function.connect(on_new_game_pressed)
  get_node(“MainMenue/MC/VB/NewGame”).pressed.connect(on_new_game_pressed)
  
  get_node("MC/VB/Quit").signal_function.connect(on_quit_pressed)
  get_node("MC/VB/Quit").pressed.connect(on_quit_pressed)
func on_new_game_pressed():
  get_node(“MainMenu”).queue_free()
  var game_scene = load(“res://Scenes/MainScene/GameScene.tscn”).instantiate()
  add_child(game_scene)
  
func on_quit_pressed():
  get_tree().quit()

There will be no “” on the function that you are connecting

Is there reason you have MainMenu with an e in the initial get nodes?

thanks for your reply., but it still does not work
the new code which i used is this one: btw is ther a graphical coding interface like Unreal engine? i realy stuck with coding

extends Node

func _ready():
	get_node("MainMenu/MC/VB/NewGame").signal_function.connect(on_new_game_pressed)
	get_node("MainMenu/MC/VB/NewGame").pressed.connect(on_new_game_pressed)
	get_node("MainMenu/MC/VB/Quit").signal_function.connect(on_quit_pressed)
	get_node("MainMenu/MC/VB/Quit").pressed.connect(on_quit_pressed)

func on_new_game_pressed():
	get_node("MainMenu").queue_free()
	var game_scene = load("res://Scenes/MainScene/GameScene.tscn").instantiate()
	add_child(game_scene)
  
func on_quit_pressed():
	get_tree().quit()