Teleport

Teleportation

Where to put the script


You will put this script under whichever part you want to touch to activate the teleport

Teleportation:


local part = script.Parent

part.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild('Humanoid') then
        hit.Parent.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
    end
end)

Line by Line