PLEASE HELP. I got a right to erasure request and I have no idea how to delete someone’s data stores even after reading the documentation. I do not want to get banned. I’ve been seeing mixed sources that if you don’t do anything that nothing will happen or you’ll get banned. Someone please tell me how to delete data stores in a simple way.
You can delete datastores entries using DataStore:RemoveAsync("key")
, where key is the key name to remove and DataStore is the same DataStore object you use to get and set the key value.
You’ll need to remove the data in all places you’ve saved it. Don’t worry to much, you have 30 days to comply with these requests.
I made this with ChatGPT a few minutes before your reply. Would something like this work?
local DataStoreService = game:GetService("DataStoreService")
local playerDataStore = DataStoreService:GetDataStore("PlayerDataStore")
-- Delete the user's DataStore entry
local success, errorMessage = pcall(function()
playerDataStore:RemoveAsync(426690177) --replace numbers with user id
-- or
-- playerDataStore:SetAsync(UserID, nil)
end)
if success then
print("DataStore successfully deleted.")
else
warn("Failed to delete DataStore:", errorMessage)
end
ye that would remove the key in PlayerDataStore
with the user id. youll have to change the code to remove the user data stored in whatever data stores you used
i never used any data stores in any of the games that were mentioned in the message tho so, and also if i delete literally everything in the games (theyre old and i dont care about them) would that delete the data stores too
if you haven’t stored any user data about the user, then you’ve already complied. no, deleting everything in the games wont remove data store keys. but if you havent stored any user data then you’ve already complied with the request and can get on with life
thats weird, any idea of why i got this message even though there wasn’t any user data? i even checked all the scripts for stuff like datastore, nothing. thanks for everything
roblox automatically sends that to all game devs that user has played in case you save data with some other third party system.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.