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

Any possible way to set all players data back to 0?

Asked by 8 years ago

I want to open my game in beta, but then once I release it fully I want everyone to be at the same stage, so reset all stats. Is their an easy way to do this or a wiki somewhere that tells you how it can be done? Thanks

  • NinjoOnline

1 answer

Log in to vote
3
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
8 years ago

An easy way to reset datastores for a game would be to change the key you're currently using for your Datastore.

Example;

local stats = game:GetService("DataStoreService"):GetDataStore("ChangedKey");
0
Thank you! NinjoOnline 1146 — 8y
Ad

Answer this question