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: Saving Purchases

Previous Thread :: Next Thread 
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
27 Jan 2015 10:29 PM
Okay well I am making this game and I want to save purchases you made.
I was wondering how would this be done?
I mean would you like save a table within a table within data store and have each product like 'Car' = true
orrr...
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
27 Jan 2015 10:34 PM
I am not asking someone to MAKE it for me.
I just need some guidence on how it would be done >.<
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
27 Jan 2015 10:35 PM
game:GetService("DataStoreService"):GetDataStore("Purchases"):SetAsync("16465891",{"LinkedSword","Darkheart","Illumina"})

for i,v in pairs(game:GetService("DataStoreService"):GetDataStore("Purchases"):GetAsync("16465891")) do
game.ServerStorage.Tools:FindFirstChild(v).Parent = player.Backpack
end
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