|
| 11 Jun 2014 02:32 AM |
| I was just wondering, how can I save a certain type of stat using Data Store? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 11 Jun 2014 06:00 AM |
This is what I have so far, how can I make it save the stat called 'money'?
ds = game:GetService("DataStoreSerivce"):GetDataStore("stats") local savestats = {"money"} game.Players:PlayerRemoved:connect(function(player) for i,#savestats do --Help! |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2014 06:02 AM |
| I've been meaning to make a model that I've lost that does this exact same thing, PM me so I can remember to give it to you when I finish, I'll make it today :P |
|
|
| Report Abuse |
|
|
BenBonez
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 19362 |
|
|
| 11 Jun 2014 07:57 AM |
| Ironic, had you not proved your idiocy by continuously posting on my thread, I could have helped you several times by now |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Jun 2014 09:10 AM |
| the script you posted, don't know if troll or.. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2014 11:22 PM |
| Thank you warspyking! Just what I needed, just need to modify so that it works with my leaderboard script and then it will work :D |
|
|
| Report Abuse |
|
|
|
| 12 Jun 2014 04:31 AM |
| No problem. DataStore comes easy to me, so I'm glad I could help :D |
|
|
| Report Abuse |
|
|