How can data losses be prevented when collecting balls?

Hello, every time I collect the ball, it needs to save the datastore, but I get the error ‘this request is queued’, how can I make a system to prevent this problem?

image

If it’s being queued that means you’re saving too many times essentially, you should just save when you need to. Like when the player leaves, when the game shuts down or over a period of time like an autosave.

Can i detect player leaves? aa

Yes, with game.Players.PlayerRemoving

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.