Thx you ;) im you understand)))
✓ ANSWER ACCEPTED
GetDataStore is not a valid member of GlobalDataStore, what is it you know?
1 answer
✓ Accepted answer
You're calling :GetDataStore() on a DataStore object in functions SaveData1 and SaveData2. You already got the datastores from the DataStoreService in the first few lines and defined them as variables moneyData and swingsData so all you have to do is moneyData:SetAsync(playerid, value)
This discussion is preserved as it was. New answers, comments, and votes are closed.
