elevator transporter

i have elevators set through have a building how do i make it so when i walk and the open automatically and i can press a gui button and transport the player to the floor they choose?

Use A trigger to detect when the player enter the elevator.

http://www.unity3dstudent.com/2010/07/beginner-b13-trigger-collision-detection/

Use GUI scripting to then display a button to press

Then make the player a child of the elevator

Then move the elevator up intil it reachs the floor then release the player.

Not the prettiest way of doing things, but if you are asking how to do this, I don’t think it would do much to suggest more advanced methodology. Work on it, perhaps look into animations and AnimationEvents to do the movement.