-- Lewin4 2020/10/20
-- last edited 2020/10/20


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)
