I want to make a money system. But what if the player has too much money? What is the maximum amount of money that can be saved?
COMMUNITY QUESTION
What is the number limit in data stores?
1 answer
The maximum amount of characters for data (not in total but per key) is 260000
Unless the player has a horrendous amount of money which should never ever be achievable, you won't hit it.
Read more here
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
In other words, if the money is all that you're storing in a single key, you can store up to the number that consists of 260,000 9's. Eg. "9,999,999,999,999,999,999,999 ...". You would (theoretically, because it won't happen) run into issues converting the string into an integer in Lua long before hitting a DataStore limitation.