Hello, I have been trying to get this gamepass teleport to teleport the players with the gamepass, yet it still will not work. I have tried using Moveto(), that doesn't do anything at all. What is the error in the script? It is simply not doing anything?

-- VIP List
list = {"", ""}


gamepassId = 255509091

exitName = "VIPExit"
Exit = script.Parent.Parent:FindFirstChild(ExitName)

local gm = game.GetService("GamePassService")
function onTouch(hit)

	if game.Players:FindFirstChild(hit.Parent.Name) ~= nil and hit.Parent:FindFirstChild("Torso") ~= nil then
		for i = 1, #list do
			if hit.Parent.Name == list[i] then
				isallowed = true
			end
		end
		if isallowed or gm:PlayerHasPass(game.Players:FindFirstChild(hit.Parent.Name), gamepassId)then
			hit.Parent:FindFirstChild("Torso").CFrame = CFrame.new(Exit.CFrame.X, Exit.CFrame.Y + 3, Exit.CFrame.Z)
		end
	end
	isallowed = false
end

script.Parent.Touched:connect(onTouch)