Easy Written By Klxfe

Teleportation Pad Created on: 02-03-2020

Whenever player touches Part1 it'll teleport the player to Part2.

Whenever player touches a Part1 it'll teleport the player to Part2.

1. Create 2 different parts into Workspace

  1. Name the parts 'Part1' and 'Part2'
  2. Insert 'Script' into either one of the parts.

local CurrentLocation = script.Parent
local Destination = game.Workspace.Part2
-- (Optional), You can create local variable for each part.

-- Touched function.
	if Touch.Parent:FindFirstChild("HumanoidRootPart") then
-- Checks if the touched part parent contains 'HumanoidRootPart'
-- and if it does then this line of code will run.
		Touch.Parent:FindFirstChild("HumanoidRootPart").CFrame = Destination.CFrame + Vector3.new(0,3,0)
-- This teleports the player to the destination.

Easy Written By Klxfe

See Klxfe's profile on Roblox