How do I update all the values from the table?
dataStoreService:UpdateAsync(playerkey, function(oldValue)
local newValue = oldValue or 0
newValue = newValue + 50
return newValue
end)
Above was example, but I don't know how to update each value from my tables list. Also, what if I wanted to save it as a string? Can I set like newValue to a string or something?
**I appreciate explanations or corrections if I had any misunderstandings! **

3 comments
iterate through all of the members of the table :/
Really? I'll try that. Thanks!
Lmao