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

What if something goes terribly wrong read desc DataStores?

Asked by 4 years ago

So I know its rare but you know how theres a 6 second cool down on SaveAsync I was wondering what if a person bought something like lets say cash using robux and imagine if I had an auto saving system and I auto saved right before he left so the SaveAsync on the 6 second cool down didnt work and therefore he left without having his money saved what could I do to prevent this and has this ever happened?

0
use pcall and other stuff also look at this article it will explain it and it tells you how to know if something went terribly wrong, also article https://developer.roblox.com/en-us/articles/Saving-Player-Data DONUTBOI1235 0 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

use pcall and other stuff also look at this article it will explain it and it tells you how to know if something went terribly wrong, also article https://developer.roblox.com/en-us/articles/Saving-Player-Data

Ad

Answer this question