we had something similar with when we were instantiating bullets.
as far as im aware @onready variables are created before the _ready is called on anything.
but their values can only be set once whatever they are referencing have a presence in the scene tree.
and since in the game.gd script, we are instancing the game over screen, then using the set score then adding to scene.
so to use @onready to reference a scene and use its children, then we have to add it to the scene first so @onready can assign that variable since its now entered the scene tree.
so to get your onready working, ensure these two lines in the game.gd script, have the child being added to the scene first