local Teleport = "TP1" 
function TP(hit) 
if script.Parent.Locked == false and script.Parent.Parent:findFirstChild(Teleport).Locked == false then
script.Parent.Locked = true script.Parent.Parent:findFirstChild(Teleport).Locked = true
	local Pos = script.Parent.Parent:findFirstChild(Teleport)
		hit.Parent:moveTo(Pos.Position) wait(1) script.Parent.Locked = false script.Parent.Parent:findFirstChild(Teleport).Locked = false 
   end 
end
script.Parent.Touched:connect(TP)

Script ^

It doesnt tp me when I am in the vehicle seat. It just tps the car.

1 comment

0

You should use more variable, I don't know what is the Parent of the script is and Parent of the Parent of the script is @_@