Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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

0
perhaps there is no new value TheluaBanana 946 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

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.
0
still dont get it. one because i cant open console and check it out. and in real published game is still dont work Super4Kpl 0 — 4y
Ad

Answer this question