Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Cant load the real value! Still printing old one! How to make this work? Please help

i have the most annoy think in the world! but first please read script

(Parent:String Value) while true do wait(1) print(script.Parent.Value) end

yea i know that will print the value from parent but if i change the value when the game is running its still printing the starting value.

Please i cant find any solution if u guys know i will be very happy when reply

1 comment

0

perhaps there is no new value

1 answer

Hello Super4Kpl. I have found the solution to your issue.

When you run the game, you almost always begin on the Client - unless possibly changed in the Settings. Therefore, if you're changing the value through the Client, it'll not print the 'new' value because your script is wired to the Server.

But do not worry, this is easy to fix.

  • What you want to do is firstly run the game.
  • Then, in the top left corner in the test tab, you will see Client - it should be a blue monitor.
  • Click that.
  • Your button should no longer be a monitor, but a computer - it's colour will now be green - to signify changes.

You can now change the value through the game and get it to print out the 'new' value.

I hope I helped. If I did please click 'Accept' to show me support.

1 comment

0

still dont get it. one because i cant open console and check it out. and in real published game is still dont work

This discussion is preserved as it was. New answers, comments, and votes are closed.