Hey guys, I recently asked a question about my data-store, but the solution they gave me didn't work with multiple values (or I didn't know how to set it up), but I'm asking now for a data-store that can host multiple values like Wood, Stone, Iron, Rope, Obsidian, etc.. Also if you could include how can I add more values to the data-store myself! That'd be nice. ALL HELP IS APPRECIATED!
You can simply store the values in a dictionairy table.
local data = {Wood = 1, Stone = 2, Iron = 3, Rope = 4, Obsidian = 5} local dataStore = game:GetService("DataStoreService"):GetDataStore("Some Name") dataStore:SetAsync("some key", data)