|
| 11 Feb 2015 01:14 PM |
like
local ds = game:GetService("DataStoreService"):GetOrderedDataStore("Points") local data = unpack(ds) > key : value > key : value > key : value > key : value
#FollowForFollow #F4F #RespectMyBowtie |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 01:18 PM |
If it's a table, yes, otherwise no.
If you save a table of data to the DataStore, instead of saving the data piece by piece, then it should work. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 01:24 PM |
great!
im creating a database and will be saving tables of values and am hoping to unpack the datastore and be able to get the keys(name of players) and the values(stats of players)
so for example:
local blergh = { [p.Name] = { ["Points"] = pointsDS:GetAsync(p.userId); ["Level"] = levelDS:GetAsync(p.userId) } }
#FollowForFollow #F4F #RespectMyBowtie |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2015 01:26 PM |
idk if thats right lold i did have it in my head earlier but now its gone xD pls tell me thats right xd
#FollowForFollow #F4F #RespectMyBowtie |
|
|
| Report Abuse |
|
|