generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Non-Leaderboard Stats Datastore

Previous Thread :: Next Thread 
Badandy11 is not online. 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 is not online. 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
xThe_Developer is not online. xThe_Developer
Joined: 07 Aug 2013
Total Posts: 585
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image