I heard that it caches, but would that be specific to a certain value?
weapons = {"Shotgun","OrcBlade"}
for i,v in pairs(weapons) do
local DataStore = game:GetService("DataStoreService"):GetDataStore(v)
local key = newPlayer.userId..v
if DataStore:GetAsync(key) == true then
points.Value = points.Value+999
else
print("weapon not owned")
end
end
It adds 999 points, but not the other 999 and I have the OrcBlade save scripted so it saves as newPlayer.userId.."OrcBlade"
