I do save when they purchase something, but within a pcall.
Thing is, because people often buy multiple things in a row, it would use up all my data instantly.
So for each purchase I will wait 60 seconds, if no purchase more has been made, then it will save.
It’s a security measure to keep the server from using up all their data.
I could probably improve it more but for anyone who’s ever done coding, anywhere, will know of a thing called bugs and unpredictable results. We NEED a search tab in Trade > Sold, even if it’s just to verify someone is lying about purchasing a product.
Edit: Dont’ wish to highjack your thread so I’ll just stop here