Essentially, the way this script works is it will teleport your character to a certain part(oPart) when the part in question(Script.Parent) is touched. For some reason however, it will not teleport.

local Teleport = "oPart" --Part your teleporting to
function Touch(hit)
    local Pos = script.Parent.Parent:findFirstChild(Teleport)
        hit.Parent:moveTo(Pos.Position) 
 end
script.Parent.Touched:connect(Touch)