I have been creating a Level System and i am finished with it, with I am wondering, how do you wipe the DataStore from existing so i can start back to level 1?
Do you use :RemoveAsync?
Anything helps.
While this is up, how do you remove Data from a specific player? lets say they were hacking for the Levels, how do i remove their Data?
I recommend using ProfileService instead of making your own, it’s also way better than DataStore2 if you ever wondered.
Here’s the link: ProfileService.
Now, here’s why you should use it:
Easy to learn, and eventually forget - ProfileService does not give you any data getter or setter functions. It gives you the freedom to write your own data interface.
Built for massive scalability - low resource footprint, no excessive type checking. Great for 100+ player servers. ProfileService automatically spreads the DataStore API calls evenly within the auto-save loop timeframe.
Already does the things you wouldn’t dare script yourself (but should) - session-locking is essential to keeping your data protected from multiple server editing - this is a potential cause of item loss or item duplication loopholes. ProfileService offers a very comprehensive and short API for handling session-locking yourself or just letting ProfileService do it automatically for you.
Future-proof - with features like MetaTags and GlobalUpdates , you will always be able to add new functionality to your profiles without headaches.
Made for ambitious projects - ProfileService is a profile object abstraction detached from the Player instance - this allows the developer to create profiles for entities other than players, such as: group-owned houses, savable multiplayer game instances, etc.