I just got a right to erasure request from Roblox for a certain user ID in one of my unlisted games. As I understand it, my game contains some data linked to a person who has requested to be erased, and I have a legal responsibility to get rid of any traces of them.
From my research it seems I need to edit the PlayerData records and remove all traces of this person, but the problem is I haven’t actively developed in years and have no idea where to find these files or how to mess with them. Roblox’s official help article has been taken down, and though I tracked down a reupload (Right to Erasure / Deleting Player Data from Datastores Tutorial), the fix there didn’t work. Haven’t been able to find any more instructions on how to do this.
The game in question is very basic and over a decade old, and until now I didn’t know it was collecting player data at all. It’s unlikely to ever see the light of day again so I think the simplest solution would be to just purge all player data completely. Any help on how to do that or other solutions I might try would be greatly appreciated.
It might not be. FYI Roblox automatically sends that message to authors of any games the user played. If you don’t have any scripts that save player data/use datastores then you can safely ignore it.
This would be a quick script. That could stay (disabled) for use again or run once.
local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetDataStore("PlayerData")
local playerKey = --add the actual key however you did it
--however yours is set up this is just an example
--remove player data
DataStore:RemoveAsync(playerKey)
local DataStoreService = game:GetService("DataStoreService")
local allDataStorePages = DataStoreService:ListDataStoresAsync()
while true do
local currentDataStoresPage = allDataStorePages:GetCurrentPage()
for _, DataStoreInfo in ipairs(currentDataStoresPage) do
local dataStore = DataStoreService:GetDataStore(DataStoreInfo.DataStoreName)
local allKeysPages = dataStore:ListKeysAsync()
while true do
local currentKeysPage = allKeysPages:GetCurrentPage()
for _, Key in pairs(currentKeysPage) do
dataStore:RemoveAsync(Key.KeyName)
end
if allKeysPages.IsFinished then break end
allKeysPages:AdvanceToNextPageAsync()
end
end
if allDataStorePages.IsFinished then break end
allDataStorePages:AdvanceToNextPageAsync()
task.wait()
end
If there’s no DataStores, there’s no need to proceed with a Right of Erasure Request. They are only for DataStores. If you didn’t use them, you’re fine.
Tried this command and the one suggested by 2112Jay and got no confirmation that they did anything. I’m thinking the other comments are right that there was never any data collected, and it’s just an automated request
Yeah I’m thinking your right. I’ve tried several scripts now and they haven’t seemed to do anything.
The game is just a bunch of ship models sitting on display with no coding more advanced than a free model sprint script. If there was anything collecting data I didn’t put it there intentionally.