local c=script.Parent local f=game.workspace.teles local function V(V)local Y=V.Parent if game.Players:GetPlayerFromCharacter(Y)then wait(.5)Y.HumanoidRootPart.Position=c.Position Y.HumanoidRootPart.Position=f.tele1.Position end end c.Touched:connect(V)


local vat = script.Parent
local teles = game.workspace.teles

local function steppedOn(part)
	local parent = part.Parent
	if game.Players:GetPlayerFromCharacter(parent) then
		
		wait(0.5)
		
		parent.HumanoidRootPart.Position = vat.Position
		
		parent.HumanoidRootPart.Position = teles.tele1.Position
	end

end

vat.Touched:connect(steppedOn)
