[ Content Deleted ]
[ Content Deleted ]
[ Content Deleted ]
The key is the identifier, the first argument to any DataStore method. In your case, ‘PlayerKey’ is your key and it would be helpful to show where you defined it; the key has to be a string with less than 51 characters.
P.S: There’s no reason to SetAsync in an UpdateAsync, just return a value to set. Also, all DataStore methods need to be pcalled (as they can error).
1 Like