I haven’t fully read your code, but I saw something missing which is game:BindToClose(). Sometimes, Roblox Studio doesn’t properly close the test and stops certain scripts. So in your case, it doesn’t let it save. Fortunately, there’s a solution: How to properly save player data in data stores upon server close
1 Like