Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I go about saving purchase records in datastore2?

Asked by 4 years ago

So I use DataStore2

and I was wondering

How would I go about it

for instance I was thinking

if DataStore:IsBackup then you just return

return Enum.ProductPurchaseDecision.NotProcessedYet

and Kick the player

also is it okay to use :Save() wrap it around a pcall

I heard :Save() isnt wrapped around a pcall

also whats the point on saving purchases into datastores and how would you save them

Answer this question