local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer if not player then warn("Bal") return end local guiName = "GodfatherDoubleButtonFlyer" local oldGui = player.PlayerGui:FindFirstChild(guiName) if oldGui then oldGui:Destroy() end local screenGui = Instance.new("ScreenGui") screenGui.Name = guiName screenGui.ResetOnSpawn = false screenGui.Parent = player.PlayerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 150) frame.Position = UDim2.new(0.5, -140, 0.05, 0) frame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) frame.BackgroundTransparency = 0.2 frame.BorderSizePixel = 2 frame.BorderColor3 = Color3.fromRGB(0, 255, 255) frame.Parent = screenGui local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 16) frameCorner.Parent = frame local UIStroke = Instance.new("UIStroke") UIStroke.Color = Color3.fromRGB(0, 255, 255) UIStroke.Thickness = 2 UIStroke.Parent = frame local button = Instance.new("TextButton") button.Size = UDim2.new(0, 270, 0, 50) button.Position = UDim2.new(0, 15, 0, 15) button.BackgroundColor3 = Color3.fromRGB(30, 10, 50) button.TextColor3 = Color3.fromRGB(0, 255, 255) button.TextSize = 14 button.Font = Enum.Font.FredokaOne button.Text = "👻 ACTIVATE GHOST HIGHWAY" button.BorderSizePixel = 0 button.Parent = frame local corner1 = Instance.new("UICorner") corner1.CornerRadius = UDim.new(0, 8) corner1.Parent = button local glowBar1 = Instance.new("Frame") glowBar1.Size = UDim2.new(1, 0, 0, 4) glowBar1.Position = UDim2.new(0, 0, 0, 0) glowBar1.BackgroundColor3 = Color3.fromRGB(0, 255, 255) glowBar1.BorderSizePixel = 0 glowBar1.Parent = button Instance.new("UICorner", glowBar1).CornerRadius = UDim.new(0, 8) local escapeButton = Instance.new("TextButton") escapeButton.Size = UDim2.new(0, 270, 0, 50) escapeButton.Position = UDim2.new(0, 15, 0, 80) escapeButton.BackgroundColor3 = Color3.fromRGB(50, 20, 0) escapeButton.TextColor3 = Color3.fromRGB(255, 150, 0) escapeButton.TextSize = 14 escapeButton.Font = Enum.Font.FredokaOne escapeButton.Text = "🚀 EMERGENCY SURFACE TWEEN" escapeButton.BorderSizePixel = 0 escapeButton.Parent = frame local corner2 = Instance.new("UICorner") corner2.CornerRadius = UDim.new(0, 8) corner2.Parent = escapeButton local glowBar2 = Instance.new("Frame") glowBar2.Size = UDim2.new(1, 0, 0, 4) glowBar2.Position = UDim2.new(0, 0, 0, 0) glowBar2.BackgroundColor3 = Color3.fromRGB(255, 100, 0) glowBar2.BorderSizePixel = 0 glowBar2.Parent = escapeButton Instance.new("UICorner", glowBar2).CornerRadius = UDim.new(0, 8) local isWalkingLoop = false local SACRED_HEIGHT = -8.48104 local SAFE_HEIGHT = SACRED_HEIGHT - 15.0 local CATCH_NET_HEIGHT = SAFE_HEIGHT - 10.0 local CORLEONE_SPEED = 9.95 local megaPlatform = nil local safetyNetPlatform = nil local noclipConnection = nil local isTweeningToSurface = false local isPanicking = false local isReturningFromPanic = false local function destroyPlatforms() if megaPlatform then megaPlatform:Destroy() megaPlatform = nil end if safetyNetPlatform then safetyNetPlatform:Destroy() safetyNetPlatform = nil end end local function getNearestCashHorizontal(playerPos) local folder = workspace:FindFirstChild("SpawnedCash") if not folder then return nil end local closestCash = nil local shortestDistance = math.huge for _, cash in ipairs(folder:GetChildren()) do local cashPos = nil if cash:IsA("BasePart") then cashPos = cash.Position elseif cash:IsA("Model") then cashPos = cash:GetPivot().Position end if cashPos then local flatPlayerPos = Vector3.new(playerPos.X, 0, playerPos.Z) local flatCashPos = Vector3.new(cashPos.X, 0, cashPos.Z) local distance = (flatPlayerPos - flatCashPos).Magnitude if distance < shortestDistance then shortestDistance = distance closestCash = cash end end end return closestCash end if noclipConnection then noclipConnection:Disconnect() end noclipConnection = RunService.Stepped:Connect(function() local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") local humanoid = character and character:FindFirstChildOfClass("Humanoid") if character and rootPart and humanoid then if rootPart.Position.Y < 5.0 or isTweeningToSurface then for _, part in ipairs(character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end if not megaPlatform or not megaPlatform.Parent then if megaPlatform then megaPlatform:Destroy() end megaPlatform = Instance.new("Part") megaPlatform.Name = "SkyHighway" megaPlatform.Size = Vector3.new(600, 1, 600) megaPlatform.Anchored = true megaPlatform.Material = Enum.Material.Neon megaPlatform.Color = Color3.fromRGB(0, 255, 255) megaPlatform.Transparency = 0.95 megaPlatform.Parent = workspace.CurrentCamera end if not safetyNetPlatform or not safetyNetPlatform.Parent then if safetyNetPlatform then safetyNetPlatform:Destroy() end safetyNetPlatform = Instance.new("Part") safetyNetPlatform.Name = "EmergencySafetyNet" safetyNetPlatform.Size = Vector3.new(1000, 1, 1000) -- Massively wide net safetyNetPlatform.CFrame = CFrame.new(0, CATCH_NET_HEIGHT - 0.5, 0) -- Centered and locked down low safetyNetPlatform.Anchored = true safetyNetPlatform.Material = Enum.Material.SmoothPlastic safetyNetPlatform.Color = Color3.fromRGB(20, 0, 40) safetyNetPlatform.Transparency = 0.9 -- Super translucent out-of-mind barrier safetyNetPlatform.CanCollide = true -- Always on! safetyNetPlatform.Parent = workspace.CurrentCamera end local isJumping = humanoid.Jump or (rootPart.AssemblyLinearVelocity.Y > 0.5 and not isReturningFromPanic) if isReturningFromPanic then megaPlatform.CanCollide = true megaPlatform.Position = Vector3.new(rootPart.Position.X, SACRED_HEIGHT - 3.0, rootPart.Position.Z) elseif isJumping or isTweeningToSurface then megaPlatform.CanCollide = false else megaPlatform.CanCollide = true local targetFloorHeight = isPanicking and SAFE_HEIGHT or SACRED_HEIGHT megaPlatform.Position = Vector3.new(rootPart.Position.X, targetFloorHeight - 3.0, rootPart.Position.Z) end end end) local function startWalkingBusiness() local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") local humanoid = character and character:FindFirstChildOfClass("Humanoid") if not rootPart or not humanoid then return end local startPos = rootPart.Position if math.abs(startPos.Y - SACRED_HEIGHT) > 0.5 and not isTweeningToSurface and not isPanicking then button.Text = "📉 DESCENDING TO GRID..." button.BackgroundColor3 = Color3.fromRGB(60, 40, 0) glowBar1.BackgroundColor3 = Color3.fromRGB(255, 150, 0) local verticalDistance = math.abs(startPos.Y - SACRED_HEIGHT) local safetyDuration = verticalDistance / CORLEONE_SPEED local tweenInfo = TweenInfo.new(safetyDuration, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut) local safetyTween = TweenService:Create(rootPart, tweenInfo, {CFrame = CFrame.new(startPos.X, SACRED_HEIGHT, startPos.Z)}) safetyTween:Play() safetyTween.Completed:Wait() if not isWalkingLoop then return end end while isWalkingLoop do character = player.Character rootPart = character and character:FindFirstChild("HumanoidRootPart") humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid and (humanoid.Health / humanoid.MaxHealth) < 0.60 and not isPanicking and not isTweeningToSurface then isPanicking = true button.Text = "🚨 CRITICAL! RETREATING DEEPER! 🚨" button.BackgroundColor3 = Color3.fromRGB(80, 0, 0) glowBar1.BackgroundColor3 = Color3.fromRGB(255, 0, 0) humanoid:MoveTo(rootPart.Position) local currentPos = rootPart.Position local panicDistance = math.abs(currentPos.Y - SAFE_HEIGHT) local panicDuration = panicDistance / CORLEONE_SPEED local panicTweenInfo = TweenInfo.new(panicDuration, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local panicTween = TweenService:Create(rootPart, panicTweenInfo, {CFrame = CFrame.new(currentPos.X, SAFE_HEIGHT, currentPos.Z)}) panicTween:Play() panicTween.Completed:Wait() while humanoid and (humanoid.Health / humanoid.MaxHealth) <= 0.60 and isWalkingLoop do local currentPct = math.floor((humanoid.Health / humanoid.MaxHealth) * 100) button.Text = "❤️ HEALING: " .. currentPct .. "% / GOAL: 60%+" task.wait(0.2) character = player.Character humanoid = character and character:FindFirstChildOfClass("Humanoid") rootPart = character and character:FindFirstChild("HumanoidRootPart") end if isWalkingLoop and rootPart then isReturningFromPanic = true button.Text = "⚡ RETURNING TO GRID..." button.BackgroundColor3 = Color3.fromRGB(0, 50, 50) glowBar1.BackgroundColor3 = Color3.fromRGB(0, 255, 150) currentPos = rootPart.Position local returnDistance = math.abs(currentPos.Y - SACRED_HEIGHT) local returnDuration = returnDistance / CORLEONE_SPEED local returnTweenInfo = TweenInfo.new(returnDuration, Enum.EasingStyle.Quad, Enum.EasingDirection.In) local returnTween = TweenService:Create(rootPart, returnTweenInfo, {CFrame = CFrame.new(currentPos.X, SACRED_HEIGHT, currentPos.Z)}) returnTween:Play() returnTween.Completed:Wait() isReturningFromPanic = false end isPanicking = false end -- Standard collection loop steps if safe if rootPart and humanoid and humanoid.Health > 0 and megaPlatform and not isTweeningToSurface and not isPanicking and not isReturningFromPanic then local targetCash = getNearestCashHorizontal(rootPart.Position) if targetCash then local cashPos = targetCash:IsA("Model") and targetCash:GetPivot().Position or targetCash.Position local targetWalkPos = Vector3.new(cashPos.X, SACRED_HEIGHT, cashPos.Z) button.Text = "🤖 PHASING TO: " .. targetCash.Name:upper() button.BackgroundColor3 = Color3.fromRGB(0, 40, 80) glowBar1.BackgroundColor3 = Color3.fromRGB(0, 255, 255) humanoid:MoveTo(targetWalkPos) local reached = false local connection connection = humanoid.MoveToFinished:Connect(function() reached = true end) while not reached and isWalkingLoop and not isTweeningToSurface and not isPanicking and not isReturningFromPanic do task.wait(0.1) if not targetCash or not targetCash.Parent then break end end if connection then connection:Disconnect() end else button.Text = "⏳ NO CASH FOUND. RECONNING..." button.BackgroundColor3 = Color3.fromRGB(30, 30, 35) glowBar1.BackgroundColor3 = Color3.fromRGB(150, 150, 150) humanoid:MoveTo(rootPart.Position) task.wait(0.5) end else task.wait(0.5) end task.wait(0.05) end end button.MouseButton1Click:Connect(function() if isTweeningToSurface then return end isWalkingLoop = not isWalkingLoop local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") local humanoid = character and character:FindFirstChildOfClass("Humanoid") if isWalkingLoop then button.Text = "🛑 PAUSE HARVESTER" button.BackgroundColor3 = Color3.fromRGB(70, 10, 20) button.TextColor3 = Color3.fromRGB(255, 100, 100) glowBar1.BackgroundColor3 = Color3.fromRGB(255, 0, 50) task.spawn(startWalkingBusiness) else isPanicking = false isReturningFromPanic = false button.Text = "👻 ACTIVATE GHOST HIGHWAY" button.BackgroundColor3 = Color3.fromRGB(30, 10, 50) button.TextColor3 = Color3.fromRGB(0, 255, 255) glowBar1.BackgroundColor3 = Color3.fromRGB(0, 255, 255) if humanoid and rootPart then humanoid:MoveTo(rootPart.Position) end end end) escapeButton.MouseButton1Click:Connect(function() local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") local humanoid = character and character:FindFirstChildOfClass("Humanoid") if not rootPart or isTweeningToSurface then return end isWalkingLoop = false isPanicking = false isReturningFromPanic = false button.Text = "👻 ACTIVATE GHOST HIGHWAY" button.BackgroundColor3 = Color3.fromRGB(30, 10, 50) button.TextColor3 = Color3.fromRGB(0, 255, 255) glowBar1.BackgroundColor3 = Color3.fromRGB(0, 255, 255) if humanoid then humanoid:MoveTo(rootPart.Position) end isTweeningToSurface = true escapeButton.Text = "🚀 ROCKETING UPWARD..." escapeButton.BackgroundColor3 = Color3.fromRGB(100, 10, 10) glowBar2.BackgroundColor3 = Color3.fromRGB(255, 0, 0) local escapeTargetHeight = rootPart.Position.Y + 18 local distance = math.abs(escapeTargetHeight - rootPart.Position.Y) local duration = distance / CORLEONE_SPEED local tweenInfo = TweenInfo.new(duration, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local escapeTween = TweenService:Create(rootPart, tweenInfo, {CFrame = CFrame.new(rootPart.Position.X, escapeTargetHeight, rootPart.Position.Z)}) escapeTween:Play() escapeTween.Completed:Wait() escapeButton.Text = "🚀 EMERGENCY SURFACE TWEEN" escapeButton.BackgroundColor3 = Color3.fromRGB(50, 20, 0) glowBar2.BackgroundColor3 = Color3.fromRGB(255, 100, 0) isTweeningToSurface = false end) player.CharacterAdded:Connect(function() destroyPlatforms() isPanicking = false isWalkingLoop = false isReturningFromPanic = false end)