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

How come I cant get IntValue to set by default?

Asked by 4 years ago

So i'm trying to have a gui print out how much "Space" you have, i'm trying to set it to 10 by default for new players but it comes out at 0 in the gui. I can change the value in game and the gui works fine so the problem is that max value is not setting 10 by default for some reason

Here is the "Space" script https://gyazo.com/fffbdd3a3bde1e448f628f2a8b3c21f0 And this is the script for the gui https://gyazo.com/36a5fda61d3d253e3ee9fc8d9b712979

0
Please post your scripts here instead. In code blocks. Paste your code in, mark it, then press the Lua button. the blue ball Spjureeedd 385 — 4y
0
Okay on line 8, try setting a space, " " between the 2 dots and "tostring" so it's ".. tostring" Spjureeedd 385 — 4y
0
The gui is fine, when i change my max value in game it says what i change it to but its not setting the default max value to 10 for new players, instead it says 0 ItzSulfonic 61 — 4y

Answer this question