Like posatta said, leaderstats display saved data. However, leaderstats is not the only way to have data, while leaderstats is the way of displaying it, you could just store a value within the player, it won’t be displayed like leaderstats.
leaderstats has nothing to do with saving, its for displaying stats on the Default Roblox scoreboard.
With this you can save data, be sure to read about the limitations, although i recommend Datastore2 to try to avoid that
You could have the server store the “money” somewhere (within the player, like @Creeperthekid32 said), and have a local script :Connect() to it to change a Gui or something.
leaderstats is a folder that stores values within the player, DataStores can be used to save the values within leaderstats, which doesn’t mean that leaderstats is a method of saving.
@Pooglies@Creeperthekid32@MRePotatoes I don’t want to use leaderstats, because its going to fill up the leaderboard and I don’t want that. Unless theres a way to hide the leaderboard.
To hide the leaderboard, you just don’t create a leaderstats folder in the first place. The leaderboard only is displayed if there are values within a folder, leaderstats, stored in the player.
My method I can think of saving data without using leaderstats is to have a value stored somewhere, in this example I will use ReplicatedStorage. Then you just DataStore it from there, which this is most of the stuff that @posatta and @MRePotatoes had linked, definitely check those links out.