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
|
  |
| 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 |
|
|
|
| 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 |
|
|