I would like to note first there is no problem with my script, rather it is a roblox server problem I think and what I'm trying to portray below isn't a script.
This is has been my biggest problem so far, I have a GUI that changes a person's leaderstats(e.g stage = 1,2,3 etc) a simple IntValue to keep track of what stage a person is...
Now when I check to see how my script is running in Test -> Local Server -> 1 Player
There's usually 2 more roblox studio that pops up, 1 for the server and another for the 1 Player.
I check the Explorer's Tab and Properties Tab for the Local Server and here is what I see:
(THIS IS NOT A SCRIPT) LOCAL SERVER:
------------------EXPLORER TAB-----------------------
Players
'->Player1
'->LeaderStats
'->stage
-----------------------------------------------------------------
----------------PROPERTIES TAB----------------------- Value = 0
I click the Next Stage Button on the Player1 Studio and I see the Value of the Stage increase to 1 FOR THE PLAYER1 STUDIO ONLY.
I checked back to see if the Server Studio changed, and it still remains the same!
I think the problem here is I'm using a local gui, therefore the Server Studio cannot see the changes, BUT my GUI won't work if I won't use a LocalScript.
I would need some advice regarding this matter, or a solution to my problem would also help.
(P.S Sorry for the bad explanation)

3 comments
I'll try this out, thank you.
Althought your script did not work. I tried learning about remote events and successfully it did the job. Thank you
It was probably cause of spelling differences, but in the end it still worked! Glad could help :)