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

How to stall a player from leaving the game?

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.

3 comments

0

I think what you would want is game.Players.PlayerRemoving.

0

I'm using that, does it stall a player leaving till the player is out of the game.

0

It doesnt stall

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.