I already have something to make a table, but it overwrites existing data. How do I make it add data instead of overwrite data? I already have
local savetable = {a.Name, b, c, d} ds0:SetAsync("public", savetable)
to save it. But that overwrites...
Got it. I just did
ds0:UpdateAsync("public", function(oldValue) local savetable = {oldValue, a.Name, b, c, d} local newValue = oldValue or 0 --oldValue might be nil newValue = savetable return newValue end)