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

Is there a way to clear datastorage?

Asked by 8 years ago

Lets say I wanted to have a feature in my game that wiped the players stats if they wanted to. Would I use :clearDataStore? Or is there not a way to do this?

1 answer

Log in to vote
-1
Answered by
Dr_Doge 100
8 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.

Well if nothing else works, you can change the key.

just put somthing like this as the key

KeyVersion = "1"

Key = "Whatever"..KeyVersion
Key2 = "Meh"..KeyVersion
Key3 = "Lol"..KeyVersion

so u can just change one thing

Ad

Answer this question