How to Make Teleporters on Roblox
- 1). Open Roblox Studio.
- 2). Click on the Insert tab in the menu bar above the world viewer. Select Tools from the insert tab options. The tools panel now appears to the right side of the world viewer.
- 3). Click on the drop-down list of categories at the top of the tools panel. Scroll through the list until you see teleporters. Select this category.
- 4). Click on a thumbnail of a teleporter in the tools panel. That teleporter now appears in the world viewer.
- 5). Click on the Insert tab again. Select Explorer. This opens the explorer panel to the right of the world viewer.
- 6). Double-click on Workspace in the explorer panel. Look for an object called Teleporter in the Workspace. Double-click on that object. This action reveals a list of objects that make up Teleporter. Double-click on the object called Script. This opens the script that governs the interactivity of the teleporter.
- 7). Look for a line of code in the teleporter script that governs the coordinates for where the player who touches the script is teleported to. Those coordinates should be three numbers in a row, like "0,0,0." Change those numbers to wherever you want a player to teleport to when they touch the teleporter. The first number indicates the x-axis in the world viewer, the second number indicates the y-axis, and the third number indicates the z-axis. The x-axis indicates depth, the y-axis length, and the z-axis height.
- 8). Click on the Explorer tab again to close the script editing field and return to the world viewer. Click the Test tab in the menu bar and select "Solo test." Walk your character into the teleporter to check that it teleports the character to where you want it to go. Click on your character once it's been teleported. This action opens the properties panel. Scroll through the properties until you see the CFrame property. The numbers listed next to CFrame should match the numbers you entered for the teleporter. If they do not, start again with a different pre-built teleporter model.