Hello! So basically I’ve created a saving system (data storage) that saves when triggered mid game. However, I’m worried if the player leaves the game, their save data will be corrupted. So, I need it when the player leaves during saving, their previous saved data will be present when they join back. How can I do that?
1 Like
Make a PlayerAdded event that can access the data store and load the players data
You’re going to need to call the Save function you have inside of a Connection
tied to PlayerLeaving
. This way, it’ll save when the player leaves. Also, I recommend saving every 5-10 minutes.