If I have a coin game, then it adds amounts quickly to player. The datastore begins to drop requests. Any way to fix this? There is no code associated with this problem.
Hello, I'm BlackOrange and I will be helping you today.
Since no content of code was provided, I can only state that you are using the .Changed
event to save data. This means each time something changes it saves which passes the datatstore limit.
Remove your .Changed
events and instead an auto-save system should be created that will save data about every 60 seconds. Next add a PlayerRemoving
event to make sure data saves when player leaves. I highly suggest no saving data on the studio because it freezes it when saving.
Since no code was provided this is as much information I can give you. Again your saving too many times in a small time interval. If more content was provided I may have been able to assist you more in terms of improving your code and fixing it up.
Hoped this helped.
Best of luck developer!
BlackOrange3343