Hey, so I got this request from Roblox pms saying I needed to remove someone’s data, records, etc But I have no clue how to do this.
PS: They are terminated
It means you need to delete their data (in your datastore) from your game.
And how do I do that?
I don’t know how to script that well
This user wants all data you collected on them to be deleted. If you don’t have any datastores or log any user information you should be in the clear. But if you have datastores make sure to delete all that users data
Are you using a datastore module such as datastore2?
No, the problem (I think) is that the OP doesn’t know how to actually delete it. I think they understand what they have to do, but not how to do it.
Just run this command in the command bar
local datastore = game:GetService("DataStoreService"):GetDataStore("NameOfYourDataStoreHere")
datastore:RemoveAsync(PlayerUserIdHere)
Obviously I don’t know what the name of your datastore is so you are going to need to check that and you are going to have to do that to all your data stores.
Yeah I understand what I have to do I’ve deleted the datastores that were in the game see I didn’t make those scripts
Not that I am aware of was deleting everything a mistake?
If you had multiple people playing your game and they made progress on it then… yes. They will probably be very angry that their progress is lost. If not, then nobody will mind.
Nobody played it had only 4 visits total I deleted everything should that fix the problem?
Deleting the datastore scripts won’t work since that players data is still on the datastore server
So how do I get their data back after deleting the datastore will the command still work that AWhale suggested?
It might be helpful if you send the datastore scripts you are using
The GDPR request message should contain vital information that will help you.
- The UserID
- The places the user visited
- And guides on how to handle datastores.
If you don’t use Datastores in any of the games roblox lists you do not need to do anything,
However if you do use datastores (or have free models that do, e.g admin systems) then you must handle that by deleting the users data from the datastore.
You can read up on datastore information here: Data Stores | Roblox Creator Documentation
I don’t have a copy as it was a game that I had from a long time ago
I think it had HD admin and a datastore it told me the place and user ID
As long as you didn’t ban the userid, or give them any sort of rank HD Admin won’t store them in a database meaning you will not have to deal with removing the user from the datastore.
This message only appears in-case you have a datastore, there is technically no way for them to tell
Alright I don’t think the hd admin had any auto rank settings now how should I go about removing their data after already deleting the contents of the game
If HD Admin didn’t assign anything to the userID who joined you won’t need to do anything with the datastore (Assuming you don’t have any other scripts dealing with the datastore)
But if you did do something you’d need to find the key
it use to store data, for example player_userid
where userid would be the userid of the player.
and you would need to find the datastore name, both should be in the configuration file.
You can then write a quick script in the command bar.
local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetDataStore("DatstoreName") -- the name of the datastore, e.g "xpDatastore"
DataStore:RemoveAsync("key") -- the key used, e.g player_userid, player_123432
Hope this helps