How to get a variable from another scene

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By cookieKing_

I have a scene that has the variable “score”, and I have another scene that has a RichTextLabel. I need to get the score variable from scene 1 and set the text on the richtextlabel in scene 2 to score.

i would recommend storing the score variable in a global script

CollCaz | 2023-05-20 17:42