the error is gone after fixing that, so I think it might work this time, lemme test it in-game real quick.
yay, it works now, thanks for the help, I really appreciate it
No problem, if you ever wish to use UpdateAsync, they are a bit different and they need functions to work with, once you get the flow it will be easy to understand
will do! I’ll make sure to try it out one day
tried to reset my data, but then everything turned 0, and i can’t reset the stats
Try just changing the name of the datastore, it will wipe all data because it starts a new one
the stats got reset, and whenever I try to remake them, they keep deleting
Hmm what method did you use to reset data
I used this
local DataStoreService = game:GetService("DataStoreService")
local nicknameStore = DataStoreService:GetDataStore("MyDataStore2")
local success, removedValue = pcall(function()
return nicknameStore:RemoveAsync("24999848")
end)
if success then
print(removedValue)
end
You should only run this script once, if it already removed the data delete the script
it did, but now I can’t change the intvalues back to the default, they’re all set to 0, and there’s nothing i can think of to fix it
how would I go about adding in new values for the intvalues?
hello? are you there? I’d like to know.
Idk what you did, you can try adding new values
I seem to have fixed the issue.
Would you care to share what you did so if someone else has similar problem they can try your solution.
I created a copy of the stats that would be saved and loaded it onto the main stats.