so what i want to do is probably later make a tycoon or upgrade tree but i dont want to mess with the datastores im too lazy to check if the every upgrade is bought
is there a way to make something like
local data = game:GetService("DataStoreService")
local dat = data:GetDataStore("bla bla")
local v = "Upgrade"
local newDat = {}
newDat.v = true -- i want it to compile it as newDat.Upgrade is there a way to do that
dat:SetAsync("bla bla", newDat)