Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I get this OrderedDataStore to work?

So i've been testing and testing but for some reason I get this error

local PurchaseHistory = game:GetService("DataStoreService"):GetOrderedDataStore("DevProducts")
PurchaseHistory:SetAsync(player.Name, "Premium Session Pass")

"player" value "IS" Defined It "IS" in a "Script" not "LocalScript"

In the output for the Dev-Console in online-game it says "Value is not allowed" and it's referring to "(player.Name, "Premium Session Pass")" Premium Session Pass string I'm truly unsure what to do about this

1 answer

wait(.50)
print("GO ON WIKI BEFORE YOU GO ON THIS!")

This discussion is preserved as it was. New answers, comments, and votes are closed.