I received a message from Roblox today " [Important] Right to Erasure - Action Requested" with the UserId that I have to delete on my game. I tried checking if the UserId has a data with my game and it has. My problem is I only know how to modify/update the stats of any players but I don’t know how to delete the UserId in my game particularly datastores. Btw I am using the normal datastore in saving my players data. Can you provide me some ways to delete the UserId out of my datastore and game? Thankyou so much.
1 Like
DataStore:RemoveAsync(“Key”)
If the key is simply the userID then just call :RemoveAsync(“UserID”) on all DataStores which they are present in.
Then just use :GetAsync() with the same key & it should return “nil” if the data was successfully removed.
3 Likes