I had to snip this post coz snip



I switched from using DataStore to using DataStore2. It uses caching and is more fail proof.

You can read on how to use it here. It’s easier to use than DataStore and I’d recommend using it

1 Like

You haven’t really shown us where you’re using datastore. Right now you have just stored a few values inside a global table…

1 Like

There is no problem if you store a table instead of a normal value, after all tables are just a some sort of complicated datatype. You can save them as usual.

datastore:SetAsync("the id", _G.Inventory)

And retrieve them however you want

local inventory = data:GetAsync("the id")

--and you can access what was in the table

local fedora = inventory["The Classic ROBLOX Fedora"]

if fedora.owned == true then

It’s really simple

1 Like