Abandonment

Abandonment is a new feature added in Perfectly Standard Elevator. The mechanic goes as the following: on floors that have it enabled, if there are players still on the floor as it ends, rather than teleporting them back they get left behind.

In a technical standpoint, the player gets teleported to a certain distance far away from the elevator if they're outside the elevator. Every player that got left behind gets assigned a specific tag that disappears with the character. Players never get teleported from the floor the elevator is currently on, or at least shouldn't. When the script checks that there's no players with the specific tag, the floor gets erased for both optimization and minimizing chances of an abandonment floor being too close to another one. The latter can still happen though, as the range is small because there's a certain minimum range where the elevator is barely, if not entirely visible; and a point where the player's screen starts to glitch out.