How to fix the 9.2 quintillion limit on leaderstats

how to fix the 9.8 quintillion or quadrillion limit on leaderstats becuase my game gets to very big numbers

You could use a StringValue and change it so that when you get to 1000 it says 1K, 1000000 to 1M, etc.

Example

2 Likes

that is the physical limit of how large a value can be, so you can’t fix it.

you can try to do number value or string value. I believe the max for number value is like 9.2 x 10^308 and for string its like 9.2 x 10^1000.

You can either start dividing the numbers by 1000 / 1M / 1B as they get bigger and keep track of this multiplier separately, or create your own arbitrary precision math.