Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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

Log in to vote
0
Answered by
IPsec 35
6 years ago

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.

0
Well done, you made 3 sentences from the answer 'yes' lol User#20388 0 — 6y
0
Alright, thank you for the clarification! killajake25 0 — 6y
Ad

Answer this question