Step 1:
Make an item for teleportation. Open Database then Items.
Step 2:
Click the Common Events tab. Follow as it does. First, do the text for locational.
In the choices part, make an event to teleport player in a certain place.
If you can't understand me, please comment below and I'll explain.

Step 3:
Go back to items tab. Follow the Step 1 Picture. In the Effects section, choose common events then choose the Common event you've made for the device.

Thank you! Comment if you can't understand.