--// Services local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer local Remotes = ReplicatedStorage:WaitForChild("Remotes") --// Remotes local ClickRemote = Remotes:WaitForChild("Click") local BuyUpgradeRemote = Remotes:WaitForChild("BuyUpgrade") --// Toggles _G.AutoClick = false _G.AutoCashPerClick = false _G.AutoCashMultiplier = false _G.AutoCashPerSec = false _G.AutoCashPerClickMultiplier = false _G.AutoGemsPerClick = false _G.AutoGemsPerClickChance = false --// Click spam amount per frame local ClickBurst = 30 -- increase this for more spam --// GUI Setup local ScreenGui = Instance.new("ScreenGui") ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 240, 0, 360) Frame.Position = UDim2.new(0.05, 0, 0.3, 0) Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true Frame.Parent = ScreenGui -- Top Bar local TopBar = Instance.new("Frame") TopBar.Size = UDim2.new(1, 0, 0, 30) TopBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45) TopBar.BorderSizePixel = 0 TopBar.Parent = Frame local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -30, 1, 0) Title.Position = UDim2.new(0, 5, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "Clicker GUI" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = TopBar local CloseButton = Instance.new("TextButton") CloseButton.Size = UDim2.new(0, 30, 1, 0) CloseButton.Position = UDim2.new(1, -30, 0, 0) CloseButton.BackgroundColor3 = Color3.fromRGB(150, 50, 50) CloseButton.Text = "X" CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.Parent = TopBar -- Container for buttons local Content = Instance.new("Frame") Content.Size = UDim2.new(1, -10, 1, -40) Content.Position = UDim2.new(0, 5, 0, 35) Content.BackgroundTransparency = 1 Content.Parent = Frame local UIListLayout = Instance.new("UIListLayout") UIListLayout.Parent = Content UIListLayout.Padding = UDim.new(0, 5) -- Function to make buttons easily local function makeButton(name, toggleVar) local button = Instance.new("TextButton") button.Size = UDim2.new(1, 0, 0, 40) button.Text = name.." [OFF]" button.BackgroundColor3 = Color3.fromRGB(60, 60, 60) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Parent = Content button.MouseButton1Click:Connect(function() _G[toggleVar] = not _G[toggleVar] button.Text = name.." ["..(_G[toggleVar] and "ON" or "OFF").."]" end) end -- Create buttons -- Cash Upgrades makeButton("AutoClick", "AutoClick") makeButton("AutoBuy CashPerClick", "AutoCashPerClick") makeButton("AutoBuy CashMultiplier", "AutoCashMultiplier") makeButton("AutoBuy CashPerSec", "AutoCashPerSec") -- Gem Upgrades makeButton("AutoBuy CashPerClickMultiplier (Gems)", "AutoCashPerClickMultiplier") makeButton("AutoBuy GemsPerClick (Gems)", "AutoGemsPerClick") makeButton("AutoBuy GemsPerClickChance (Gems)", "AutoGemsPerClickChance") -- Close button functionality CloseButton.MouseButton1Click:Connect(function() Frame.Visible = false end) --// Loops -- AutoClick Spam task.spawn(function() while true do if _G.AutoClick then for i = 1, ClickBurst do ClickRemote:FireServer() end end task.wait() end end) -- AutoBuy CashPerClick task.spawn(function() while true do if _G.AutoCashPerClick then BuyUpgradeRemote:FireServer("CashPerClick") end task.wait(0.2) end end) -- AutoBuy CashMultiplier task.spawn(function() while true do if _G.AutoCashMultiplier then BuyUpgradeRemote:FireServer("CashMultiplier") end task.wait(0.2) end end) -- AutoBuy CashPerSec task.spawn(function() while true do if _G.AutoCashPerSec then BuyUpgradeRemote:FireServer("CashPerSec") end task.wait(0.2) end end) -- AutoBuy CashPerClickMultiplier (Gems) task.spawn(function() while true do if _G.AutoCashPerClickMultiplier then BuyUpgradeRemote:FireServer("CashPerClickMultiplier") end task.wait(0.2) end end) -- AutoBuy GemsPerClick (Gems) task.spawn(function() while true do if _G.AutoGemsPerClick then BuyUpgradeRemote:FireServer("GemsPerClick") end task.wait(0.2) end end) -- AutoBuy GemsPerClickChance (Gems) task.spawn(function() while true do if _G.AutoGemsPerClickChance then BuyUpgradeRemote:FireServer("GemsPerClickChance") end task.wait(0.2) end end)