So I have a gui shop and a local script that has a table with the shop data kinda like this:
local shopData = { boughtHandGun = false boughtShotgun = false boughtRifle = false }
But in the real script I have way more weapons (around 30) so what's the best way to approach this problem? I need to save that data in the DataStore. I already have a DataStore server script in ServerScriptService but I don't know how to use this table there and how to save it.