local a = workspace:WaitForChild("PortalA") local b = workspace:WaitForChild("PortalB") local Players = game:GetService("Players") local last = {} local function connect(from, to) local prompt = Instance.new("ProximityPrompt", from) prompt.ActionText = "Travel" prompt.ObjectText = from.Name prompt.Triggered:Connect(function(player) local character = player.Character local now = os.clock() if not character or (last[player] and now - last[player] < 1.5) then return end last[player] = now character:PivotTo(to.CFrame + Vector3.new(0, 4, 0)) end) end connect(a, b) connect(b, a) Players.PlayerRemoving:Connect(function(player) last[player] = nil end)