How do I reference a public double from another script?

Hello Gamerz!

I have a script with a public double and some functions that affect that double. (starts at 0, when click button, the number rises)

I want to reference that double in another script, with the same value it reflects after it’s been affected, but I’m not sure how.

I can update with screenshots and will try my best to answer any questions.
Thank you for your time!

What did you already try?
You can reference that script in a (for ease of use public) variable, then drag and drop in the editor.

Then simply call .doubleName on the variable

This is the method I’m using, but the parts doesn’t update with the other script. (it stays at 0)

What did you try at other scripts?
Did you get any errors?