-- Auto Lift Toggle local liftToggle = Instance.new("TextButton") liftToggle.Size = UDim2.new(0, 180, 0, 30) liftToggle.Position = UDim2.new(0, 10, 0, 35) liftToggle.Text = "Start Auto Lift" liftToggle.BackgroundColor3 = Color3.fromRGB(0, 150, 0) liftToggle.Parent = frame liftToggle.MouseButton1Click:Connect(function() autoLift = not autoLift if autoLift then liftToggle.Text = "Stop Auto Lift" liftToggle.BackgroundColor3 = Color3.fromRGB(150, 0, 0) coroutine.wrap(startAutoLift)() else liftToggle.Text = "Start Auto Lift" liftToggle.BackgroundColor3 = Color3.fromRGB(0, 150, 0) end end)
-- Function to find the lift button (depends on game UI) local function findLiftButton() for _, v in pairs(player.PlayerGui:GetDescendants()) do if v.Name == "LiftButton" or (v:IsA("TextButton") and v.Text:find("Lift")) then return v end end return nil end
local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 200, 0, 120) frame.Position = UDim2.new(0, 10, 0, 10) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BackgroundTransparency = 0.2 frame.BorderSizePixel = 0 frame.Parent = screenGui
-- Services local runService = game:GetService("RunService") local virtualInput = game:GetService("VirtualInputManager")
local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.Text = "Lifting Simulator" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.BackgroundTransparency = 1 title.Parent = frame
-- Auto Lift loop local function startAutoLift() while autoLift and runService.RenderStepped:Wait() do local btn = findLiftButton() if btn then btn:Click() -- Simulates click -- Alternative method: -- virtualInput:SendMouseButtonEvent(btn.AbsolutePosition.X + btn.AbsoluteSize.X/2, btn.AbsolutePosition.Y + btn.AbsoluteSize.Y/2, 0, true, game, 0) end wait(0.1) -- Adjust timing based on game cooldown end end
-- Variables local autoLift = false local autoUpgrade = false local liftButton = nil -- Find the lift button in your game local upgradeButton = nil
-- Auto Upgrade loop local function startAutoUpgrade() while autoUpgrade and runService.RenderStepped:Wait() do local btn = findUpgradeButton() if btn then btn:Click() end wait(0.5) end end
-- Function to find upgrade button local function findUpgradeButton() for _, v in pairs(player.PlayerGui:GetDescendants()) do if v.Name == "UpgradeButton" or (v:IsA("TextButton") and v.Text:find("Upgrade")) then return v end end return nil end
-- GUI Creation local screenGui = Instance.new("ScreenGui") screenGui.Name = "LiftScriptGUI" screenGui.Parent = player:WaitForChild("PlayerGui")