In playtest mode sometimes my stats won't save, is that gonna be a problem?

If my stats aren’t saving (sometimes) when I click stop on play test mode, will that also cause issues for the actual game when players decide to leave, or exit by pressing the X button?

It’s because when you stop in studio, the server shuts down, PlayerRemoving does not fire. If the last person in the game leaves, this could happen, yes. If you shutdown servers of your game manually, this will happen as well. You can fix this by utilizing BindToClose. There is a code example in that API reference.

I use BindToClose before, but whenever I do it fires the PlayerRemoving save, and BindToClose both sometimes which adds too many requests to the queue.

If that happens, you can just make a variable denoting when the server is closing, if it is true, do not utilize PlayerRemoving to save data. Don’t think that has happened to me though so I’m not sure. You can also try making a save queue, if they are already in it, don’t add them again.

Sometimes it still won’t save my data even with BindToClose.

Then you’re doing something wrong, keep in mind you only have 30 seconds to finish your BindToClose function before the server fully closes.