don’t do that. godot has built-in singletons through Autoload. create an autoload in project settings and you can access all its properties and methods from any script at all times.
autoload needs to have a name in snake_case, the autoload can then be accessed by typing the name in PascalCase.
for example:
my_autoload.gd
MyAutoload.get_stuff()
godot has nodes. nodes exist inside the game tree (after calling the add_child method). autoloads are added automatically to the tree when the game start and exist at a higher tier than the main scene node, and persist after calling methods like change_scene, so they are very good for things like score.
the problems I see here are two:
1 - you are trying to call a property of a class, which I don’t think you can do in godot (not like that at least). you could do it if game was an autoload, but it is a node, and must exist inside the tree.
2 - there is no Game object in the scene because of the time at which the method is called.