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

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

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).

4 comments

3

print((math.floor( ( number /1000000) * 10 + .5) / 10)..' million')

0

It's GUI related.

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.

0

you could just have 2 seperate money values one for leaderstats and one for actually saving

1 answer

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

5 comments

0

I barely know any Scripting/Lua.

0

publish a bit of your code thats doing that.

0

What? I don't have any code to do with these questions..

1

Then you should realize this is not a request site....

0

It's a request on to give me the code, not edit it..

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