I know thats you can use "BindToClose" to stall a server from shuting down while it completes a function, but is there a module like that for players.
COMMUNITY QUESTION
How to stall a player from leaving the game?
1 answer
No, you have to do everything as Players.PlayerRemoving fires, you cannot stall the player from leaving the game if it discconects, so make sure your code runs fast enough to do what it needs to.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
I think what you would want is game.Players.PlayerRemoving.
I'm using that, does it stall a player leaving till the player is out of the game.
It doesnt stall