Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

about dataStoreService, is there any way I can delete saved data from a player?

Asked by
lytew 99
4 years ago

about dataStoreService, is there any way I can delete saved data from a player? that's because I'm thinking about creating a Reset button, but I don't know how to delete data from a player.

0
what type of data are you dealing with? (Intvalue, Inventory Etc.) VVoretex 146 — 4y
0
in this case it would be intValue and string lytew 99 — 4y

3 answers

Log in to vote
0
Answered by
WishXVI 94
4 years ago

Just change the datastore key. Sorry I don't know much about this stuff and I'm incorrect, sorry!

Ad
Log in to vote
0
Answered by 4 years ago

Use this under datastoreservice and you will change your key when you wanna reset.

local key = "DesiredKey" -- Wanted key code 
Log in to vote
0
Answered by 4 years ago

If you want to reset just 1 player's data, there is a plugin made by CrazyMan32 for 15 robux that you can manage data, you can just change the player's data to the default.

Answer this question