I've been experimenting with Datastores recently and I've ran into a problem. Basically the problem is that I want to save stringvalues that don't exist. For example, if a player were to complete a certain task in the game, I want to save a value that says they completed the task. I would write down each individual value, but the problem is that I already have 30 other values being saved and to write each one down, have each one saved, etc will take forever. Basically I was wondering if it's possible to create a value into a folder, then have the Datastores save all the values inside said folder. Sorta like this:
local items = {}
for i,v in pairs(player.Data:GetChildren()) do
table.insert(items, v.Value)
end
I'm not sure what I did wrong/if this would work, however right now that's the current code I have.

3 comments
refer to my answer on how to use loops/ dictionaries, that should give you a step in the right direction https://scriptinghelpers.org/questions/29802/remove-a-value-from-a-dictionary
you can save tables in data stores. try doing that.
Use a table or dictionary.