There's another elevator on the other side of the room, but you need to find a way to get into it.
Look underneath the pistons.
Try not to get squashed, of course.
Jump into the passageway below the pistons.
Search around for a tiny, narrow tunnel that you can't even crawl through.