So I made rework to my RPG game but all players still has the same stats as they had and old tools. I'd like to remove both (old stats and old tools). How do I do it?
0
Set it all to 0, or make a new datastore key, like SetAsync("the key of yonder player and user id is "..player.UserId,data)theCJarmy71293— 8y
0
I'm using data presistance(not sure if i spell it correctly). And how do I set it to0?deris88146— 8y
0
DataPersistence? I'm inexperienced with that, to fix this issue, I would change to dataStoretheCJarmy71293— 8y
0
I would highly suggest switching to DataStores.User#11440120— 8y
View all comments (9 more)
0
But how do I clear all saved stats and tools?deris88146— 8y
Unless you don't want to clear "every" save file, then I don't know.User#11440120— 8y
0
Well that doesn't helps me "Switch to DataStores". How do I even do it?deris88146— 8y
0
Ok, I managed to get rid of persistence save system. Is there a free script that I can use to auto save stats on leave with the leaderboard I'm using now or i need remake the leaderboard?deris88146— 8y
0
use a table as a guide to using data store, quite abit of people at least from what I have seen dont either understand how loops or tables work or data store service with modules or explaining their answer wellscottmike040— 8y
0
Change the keys of dtataPersistence. say the key is, player:SaveData("da players gold or kills or something,player.leadertstats.kills) And just make the key something else for the save/load. That should worktheCJarmy71293— 8y