local CoreGui = game:GetService("CoreGui") if CoreGui:FindFirstChild("AutoClickerFramework") then CoreGui.AutoClickerFramework:Destroy() end local AutoClickerFramework = Instance.new("ScreenGui") AutoClickerFramework.Name = "AutoClickerFramework" AutoClickerFramework.Parent = CoreGui AutoClickerFramework.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 240, 0, 260) MainFrame.Position = UDim2.new(0.05, 0, 0.3, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 22) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = AutoClickerFramework local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 10) MainCorner.Parent = MainFrame local TitleLabel = Instance.new("TextLabel") TitleLabel.Name = "TitleLabel" TitleLabel.Size = UDim2.new(1, 0, 0, 45) TitleLabel.BackgroundColor3 = Color3.fromRGB(25, 25, 30) TitleLabel.Text = "AUTOMATION PANEL" TitleLabel.TextColor3 = Color3.fromRGB(240, 240, 245) TitleLabel.Font = Enum.Font.GothamBold TitleLabel.TextSize = 13 TitleLabel.TextXAlignment = Enum.TextXAlignment.Left TitleLabel.Position = UDim2.new(0, 15, 0, 0) TitleLabel.Parent = MainFrame local TitleCorner = Instance.new("UICorner") TitleCorner.CornerRadius = UDim.new(0, 10) TitleCorner.Parent = TitleLabel local CloseButton = Instance.new("TextButton") CloseButton.Name = "CloseButton" CloseButton.Size = UDim2.new(0, 30, 0, 30) CloseButton.Position = UDim2.new(1, -40, 0, 7) CloseButton.BackgroundColor3 = Color3.fromRGB(35, 35, 42) CloseButton.Text = "×" CloseButton.TextColor3 = Color3.fromRGB(180, 180, 190) CloseButton.Font = Enum.Font.GothamBold CloseButton.TextSize = 20 CloseButton.BorderSizePixel = 0 CloseButton.Parent = MainFrame local CloseCorner = Instance.new("UICorner") CloseCorner.CornerRadius = UDim.new(0, 6) CloseCorner.Parent = CloseButton local AccentLine = Instance.new("Frame") AccentLine.Size = UDim2.new(1, 0, 0, 2) AccentLine.Position = UDim2.new(0, 0, 0, 43) AccentLine.BackgroundColor3 = Color3.fromRGB(140, 80, 255) AccentLine.BorderSizePixel = 0 AccentLine.Parent = MainFrame local ButtonContainer = Instance.new("ScrollingFrame") ButtonContainer.Name = "ButtonContainer" ButtonContainer.Size = UDim2.new(1, -24, 1, -65) ButtonContainer.Position = UDim2.new(0, 12, 0, 55) ButtonContainer.BackgroundTransparency = 1 ButtonContainer.BorderSizePixel = 0 ButtonContainer.CanvasSize = UDim2.new(0, 0, 0, 0) ButtonContainer.ScrollBarThickness = 3 ButtonContainer.ScrollBarImageColor3 = Color3.fromRGB(140, 80, 255) ButtonContainer.Parent = MainFrame local UIListLayout = Instance.new("UIListLayout") UIListLayout.Parent = ButtonContainer UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 10) UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() ButtonContainer.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y + 5) end) local CustomAPI = {} local Toggles = {} local RunningLoops = true function CustomAPI.newbutton(text, action, defaultInterval) Toggles[text] = false local interval = defaultInterval or 0.5 local Button = Instance.new("TextButton") Button.Name = text .. "_Button" Button.Size = UDim2.new(1, 0, 0, 40) Button.BackgroundColor3 = Color3.fromRGB(28, 28, 35) Button.Text = text .. " [OFF]" Button.TextColor3 = Color3.fromRGB(180, 180, 190) Button.Font = Enum.Font.GothamSemibold Button.TextSize = 12 Button.BorderSizePixel = 0 Button.Parent = ButtonContainer local ButtonCorner = Instance.new("UICorner") ButtonCorner.CornerRadius = UDim.new(0, 6) ButtonCorner.Parent = Button Button.MouseButton1Click:Connect(function() Toggles[text] = not Toggles[text] if Toggles[text] then Button.BackgroundColor3 = Color3.fromRGB(140, 80, 255) Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.Text = text .. " [ON]" task.spawn(function() while Toggles[text] and RunningLoops do local success, err = pcall(action) if not success then Toggles[text] = false Button.BackgroundColor3 = Color3.fromRGB(28, 28, 35) Button.TextColor3 = Color3.fromRGB(180, 180, 190) Button.Text = text .. " [ERROR]" break end task.wait(interval) end end) else Button.BackgroundColor3 = Color3.fromRGB(28, 28, 35) Button.TextColor3 = Color3.fromRGB(180, 180, 190) Button.Text = text .. " [OFF]" end end) end CloseButton.MouseButton1Click:Connect(function() RunningLoops = false AutoClickerFramework:Destroy() end) CustomAPI.newbutton("Auto Upgrade Click Multi", function() local args = { "ClickMulti" } game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("PurchaseClickUpgrade"):InvokeServer(unpack(args)) end, 0.5) CustomAPI.newbutton("Auto Click", function() game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("ClickAction"):FireServer() end, 0.01) CustomAPI.newbutton("Auto Rebirth", function() local args = { "Rebirth" } game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("PurchaseClickUpgrade"):InvokeServer(unpack(args)) end, 0.5)