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

Does PlayerRemoving run if a player is teleported to a different place?

I looked on the wiki for the PlayerRemoving event and it says it runs whenever a player leaves the game. I'm not sure how specific it is, does this mean leaving the game or leaving the place?

I'm wondering because I need this to run whenever a player is being teleported to a different place in the same game.

1 answer

The PlayerRemoving event fires on a Place when you leave the Place, indiscriminately.

It doesn't matter whether you click X or are teleported to another Place within the same Game; as long as you are leaving one instance of a Place, the PlayerRemoving event will be fired.

2 comments

0

Well done, you made 3 sentences from the answer 'yes' lol

0

Alright, thank you for the clarification!

This discussion is preserved as it was. New answers, comments, and votes are closed.