Error reference

Roblox DataStore not saving

Losing player data is the one bug that costs you the player permanently. It is also the bug most likely to look fine in testing: you save, you rejoin, it works — and then it fails on a live server for reasons that never occur while you are the only person in the place.

Rule before anything else: every DataStore call is a network request that is allowed to fail. If it is not inside pcall, a failure throws and takes the rest of your save with it — usually without you noticing.