Make the elevator one large brick, add
onPlayerTouch > namedBrick > teleportPlayer
and uncheck it (disable it)
Then, for whatever triggers the elevator, have it use the setEventEnabled event on the elevator floor to enable the onPlayerTouch event for a few seconds.