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 » Scripting Helpers
Home Search
 

Data Persistance Help

Previous Thread :: Next Thread 
sammy1229 is not online. sammy1229
Joined: 05 Aug 2010
Total Posts: 669
03 Nov 2012 08:39 AM
I want to create a button on a GUI that saves the players money. And I want to have a thing so that your money loads when you enter the server. I've never experimented with data persistance before, and the wiki article just confuses me.
Help?
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
03 Nov 2012 08:50 AM

ply:SaveNumber(theMoney,"thecap") -- to Save

theMoney:LoadNumber("thecap") -- To Load, I believe
Report Abuse
sammy1229 is not online. sammy1229
Joined: 05 Aug 2010
Total Posts: 669
03 Nov 2012 08:56 AM
And why is the "thecap" there. I'm pretty sure that has nothing to do with the string.

Report Abuse
sammy1229 is not online. sammy1229
Joined: 05 Aug 2010
Total Posts: 669
03 Nov 2012 09:03 AM
Ahh wait I got it now.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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