Badandy11
|
  |
| Joined: 02 Jul 2009 |
| Total Posts: 1861 |
|
|
| 14 May 2016 06:42 PM |
I'm developing a game and I'm going to have non-leaderboard stats like money that I don't want to share on the leaderboard, but players can keep that information to themselves and maybe a GUI inventory.
What is the best way to store this information and then save it with datastores?
Thanks, Badandy11 |
|
|
| Report Abuse |
|
|
Jammer622
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
|
| 14 May 2016 06:48 PM |
The same way you would for a regular leaderboard.
Just save the value itself, and then recreate it later. http://wiki.roblox.com/index.php?title=Data_store#SetAsync http://wiki.roblox.com/index.php?title=Data_store#GetAsync
Datastore isn't only for leaderstats. You can save any string, number, or table with it. |
|
|
| Report Abuse |
|
|
|
| 14 May 2016 06:49 PM |
Why not UpdateAsync
#code mod = require(sike) if not mod.xThe[...] then print("You're not RbxDev yet..") end |
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 14 May 2016 07:39 PM |
| Just change the name from 'leaderstats'. It won't appear on the leaderboard |
|
|
| Report Abuse |
|
|