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

how to transfer 1,000,000 to 1M + how to change the max Leaderstat?

Asked by 7 years ago

I need to know how to transfer 1,000,000 to 1M + how to change the max Leaderstat.

  1. Whenever you go over a certain amount of leaderstat for example: Cash, kills, deaths etc.. it goes straight to -21424924 etc.. I need to know how to make it NOT do that, if you can help me I would be soooo thankful.

  2. I need help to transfer 1,000,000 to 1M and 1,000,100 to 1.1M etc.. If you could help me make this then thank you! (This would be in a GUI).

3
print((math.floor( ( number /1000000) * 10 + .5) / 10)..' million') cabbler 1942 — 7y
0
It's GUI related. KillerCat1111 0 — 7y
0
They gave you what you needed, so just set a gui's text (or the leaderstat value) to that string instead of printing it. GoldenPhysics 474 — 7y
0
you could just have 2 seperate money values one for leaderstats and one for actually saving Prioxis 673 — 7y

1 answer

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

Publish your code so i can see, all i can say is use a string value.

0
I barely know any Scripting/Lua. KillerCat1111 0 — 7y
0
publish a bit of your code thats doing that. Abstract_Life 65 — 7y
0
What? I don't have any code to do with these questions.. KillerCat1111 0 — 7y
1
Then you should realize this is not a request site.... Abstract_Life 65 — 7y
0
It's a request on to give me the code, not edit it.. KillerCat1111 0 — 7y
Ad

Answer this question