Im learning how to saving using a table.
I'm not sure how to find values in a table like you can in normal stats, like print(game.players.Me.leaderstats.Ponts.Value), how do you print a table?
Would this save the table?
local DATA = game:GetService("DataStoreService"):GetDataStore("lol")
local randomTable = {
"1",
"2"
}
DATA:SetAsync("key", randomTable)
DATA:UpdateAsync("key", function(OldValue)
print(OldValue[2])
return OldValue
end)
