I am using game.Players.PlayerRemoving:connect(function(player) to save their data when they leave. However, if they lose connection to the game then they will lose everything. How do I get around this?
COMMUNITY QUESTION
Datastore saving when player loses connection?
1 answer
Save all their data on the server so it is saved on the server, then you can detect if they leave/lose connection. You still have data saved on server, so then save to datastore. Ask me for more help
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Why did this get a thumbs down?