That's the long way to making a door. If you want to make a door swinging open and close, the easiest way is to set this as its Autonomous Movement:
Turn Left
Turn Right
Turn Down
Turn Right
Turn Left
Check the Repeat Action box. You may want to add some wait commands in between the Turns.
Then, for the transferring part, set your event's trigger (player touch etc.) and give it a Transfer Player command.
Hope that helped!