"Invalid set index 'text' (on base: 'null instance')?

I’m using a singleton for a leveling up system in my game, and I need to reference a label so I can change the text. But whenever I run the game and level up it says. “Invalid set index ‘text’ (on base: ‘null instance’) with value of type String.”

I’m using Godot 4.2

Did you add the script as a singleton or the scene? Could be that you added the script, which requires a label child, but autoloaded scripts do not automatically create children. Autoloaded scene do create all children in that scene.

I added it as a singleton. And the singleton doesn’t create the label it already exists in the scene.
I’m not very good at understanding people when they talk about code as i’m fairly new to this, so sorry if I misinterpreted anything.