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

SetASync is not a valid member of GlobalDataStore?

Asked by
3wdo 198
6 years ago
Edited 6 years ago

i was making a daily reward system from the youtuber alvinblox but i got an error saying "SetASync is not a valid member of GlobalDataStore" line 62

001    local DataStore = game:GetService("DataStoreService"):GetDataStore("DailyRewards")
002 
003 
004 
005local hourWait = 24
006 
007 
008 
009local possibleRewards = {10,15,10,10,5,5,5,5,5,1000000,300,500,1000,100,600,5,5,75,25,80,100,1000000,5000000}
010 
011 
012 
013 
014 
015game.Players.PlayerAdded:Connect(function(player)
View all 145 lines...

line 67 cuz the thing is weird for me its, the code aint going in this correctly

1
This is why you don't watch AlvinBlox. DeceptiveCaster 3761 — 6y
0
its Async not ASync mattchew1010 396 — 6y
0
ikr Clasterboy 72 — 6y
0
ok 3wdo 198 — 6y
0
change SetASync to SetAsync AnonymousDeveloper13 22 — 6y

1 answer

Log in to vote
0
Answered by
3wdo 198
5 years ago

i fixed it a long time ago but i forgot to answer my own question lol all i had to do was enable studio access to API services

Ad

Answer this question