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: Help with saving/loading tycoon progress

Previous Thread :: Next Thread 
BooYah9999 is not online. BooYah9999
Joined: 18 Sep 2010
Total Posts: 30
14 Aug 2017 06:33 PM
Does anyone know how to make a save/load gui that can save not just the player's money but also the purchases they have made in a tycoon?
Report Abuse
yhatayhatahoohoo is not online. yhatayhatahoohoo
Joined: 19 Jan 2011
Total Posts: 1988
14 Aug 2017 06:36 PM
datastore


print("print()")
Report Abuse
BooYah9999 is not online. BooYah9999
Joined: 18 Sep 2010
Total Posts: 30
14 Aug 2017 07:10 PM
that isnt what i was looking for but thanks?
bump
Report Abuse
LordDracius is online. LordDracius
Joined: 22 Oct 2011
Total Posts: 1056
14 Aug 2017 07:12 PM
You need to:
Make a table of all purchased items.
Save the table to a datastore when the player leaves.

Example:
local purchases = {
Dropper1 = true;
Dropper2 = false;
}

dataStore:SetAsync(player.UserId, purchases)
Report Abuse
BooYah9999 is not online. BooYah9999
Joined: 18 Sep 2010
Total Posts: 30
15 Aug 2017 11:08 AM
Thank you. That's just what I needed. :D
Report Abuse
Mr_Crunch is not online. Mr_Crunch
Joined: 16 Jul 2016
Total Posts: 275
15 Aug 2017 11:11 AM
serialize all the info for their tycoon when the user leaves using datastore, load it and iterate through it and create what info its giving.
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