I’m trying to delete a person’s data from my game since he exploited and it isn’t fair for him to be in the top leaderboard. Is there any way to delete his data when he isn’t inside the game.
Note: He no longer joins my game, so I can’t remove his data by console.
Well you could have a remote event in your game that you can use. Then check if you were the one who called it before doing anything so that people can’t take advantage of it. Then the following will remove their data. Now you must use the same key that you saved their data with, so if you use their PlayerId then put that in the parenthesis if you do something else then use that. Also change "DataStore’ to the name of your datastore.
Have you tried datastore editor plugin? It allows you to edit a specific person’s data. You can ban him from your game which you’ll have to figure out and edit his data to 0.
Yes it can. If you show me your script I can write it for you, basically it searches through the datastore until it finds the right key and then it erases that data.