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

How do I make a script that will save players stats? (Leaderboard, etc.)

I've been wondering how to save leaderboard stats for awhile now. I want to know because I've wanted to make a game where people can earn money, leave, and come back with the same amount of money. Any feedback would be helpful. Thanks! (P.S.) I'm not sure how to use Data Persistence or any of that complicated stuff.

1 answer

✓ Accepted answer

DataPersistence isn't actually complicated. For stuff like money, you can just do this:

player:SaveNumber("cash",leaderboard.Cash.Value) player:LoadNumber("cash")

And also, somehow I doubt you know how to script. It's quite easy to do DataPersistence.

2 comments

0

Well, you're right. I hardly know how to script. I'm practicing and I know some basic stuff. Thanks for the answer!

0

Btw, my only problem is remembering the more complicated stuff.

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