Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Datastore saving when player loses connection?

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?

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

1 comment

0

Why did this get a thumbs down?

This discussion is preserved as it was. New answers, comments, and votes are closed.