GDPR: Right to Erasure problem

I took a gander at my messages tab and found two requests of the same message from Roblox about some user data removal request.

I have no idea how I can remove any of the data and that the ID does not correlate to a real user.

3 Likes

If any of your games use data stores, and they joined your game and have some saved data, you’re going to have to erase that from your data stores. Or if you have any other way that links to a player, you need to remove that too.

I don’t have much knowledge on how to remove it.

…Did you check the links that are in the message? These ones?

image

1 Like

Yes I read through it thoroughly and didn’t find it helpful.

I tried searching up the message title for other issues people have had and how they resolved the problem.
I just got DataStore Editor but I don’t even know what my key is when making a query.

If you’re saving anything using a userId or username in the key then that’s what you’ll need to remove. Similarly if you are storing tables or dictionaries with data relating to that user in it then that will have to go too (or adapted so that the specific user’s data has been removed from it).

For example, if you are saving a user’s currency to a datastore with:

DataStore:SetAsync('Currency:'..player.userId, 50)

You can use:

DataStore:RemoveAsync('Currency:123456')

or:

DataStore:SetAsync('Currency:123456', nil)

Yes it’s saving the stage.
I’m guessing I put that into the command bar of all my games?

Unfortunately, yes. It’s worth double checking as well with GetAsync to make sure that it has been removed. I’m not sure how in-depth Roblox are with checking this sort of thing, but it’s better safe than sorry.

1 Like

I’m guessing if they would check something like that, they could apply the data erasure manually themselves. Obviously they can’t do that in every case since data stores are not always saved by user ID, but for most cases I’m imagining that’s what everyone uses as an identifier.

@FAMEDYT check out this video by AlvinBlox on CloneTrooper1019’s DataStore editor, it will make the process easier if you have a process for naming your keys. I’ve included a timestamp for it so you don’t need to scavenge the entire video (2:38 to 4:05)

1 Like

Just says expected nil errors everytime try to input the code.

Are you defining the datastore?

local DataStore = game:GetService('DataStoreService'):GetDataStore('NameOfDataStore')

‘NameOfDataStore’ needs to be the name of the DataStore your stage script is saving too. You’ll probably find it near the top of the script.

Drop in the :RemoveAsync code after that line and remember to change ‘123456’ to the userId you want to remove the data from.

I’m just having trouble finding the players key.

If you go into your stage saving script and Control+F, search for ‘GetAsync’. The key will be between the parentheses after GetAsync.

Really useless with this stuff but I don’t think so.vn

So your key is just the player’s userId:

local DataStore = game:GetService('DataStoreService'):GetDataStore('NameOfDataStore')
DataStore:RemoveAsync('123456') -- Change 123456 to the user's userId

or use the DataStore editor.

You can find the ‘NameOfDataStore’ by doing Control+F in the stages saving script and searching for ‘GetDataStore’. The name of the store should be between the parentheses after ‘GetDataStore’

I’ve put the code into the developer console twice for good measure in public games, is that okay now?ok.