-- Services local CoreGui = game:GetService("CoreGui") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") -- Remove existing GUI if CoreGui:FindFirstChild("CleanAutoGui") then CoreGui.CleanAutoGui:Destroy() end -- ScreenGui local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "CleanAutoGui" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = CoreGui -- Main Frame local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 200, 0, 130) Frame.Position = UDim2.new(0.5, -100, 0.4, 0) Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true Frame.Parent = ScreenGui local FrameCorner = Instance.new("UICorner") FrameCorner.CornerRadius = UDim.new(0, 8) FrameCorner.Parent = Frame -- Title Bar local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -30, 0, 30) Title.Position = UDim2.new(0, 10, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "Auto Panel (5x Fast)" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Title.Font = Enum.Font.SourceSansBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.Parent = Frame -- Close Button (X) local CloseBtn = Instance.new("TextButton") CloseBtn.Size = UDim2.new(0, 25, 0, 25) CloseBtn.Position = UDim2.new(1, -28, 0, 3) CloseBtn.BackgroundTransparency = 1 CloseBtn.Text = "X" CloseBtn.TextColor3 = Color3.fromRGB(200, 200, 200) CloseBtn.TextSize = 14 CloseBtn.Font = Enum.Font.SourceSansBold CloseBtn.Parent = Frame CloseBtn.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) -- Toggle Generator Function local function createToggle(name, posY, remoteName) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -20, 0, 35) btn.Position = UDim2.new(0, 10, 0, posY) btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) btn.BorderSizePixel = 0 btn.Text = name .. ": OFF" btn.TextColor3 = Color3.fromRGB(200, 200, 200) btn.TextSize = 13 btn.Font = Enum.Font.SourceSansSemibold btn.Parent = Frame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 6) btnCorner.Parent = btn local active = false local remote = ReplicatedStorage:WaitForChild(remoteName, 5) btn.MouseButton1Click:Connect(function() active = not active if active then btn.Text = name .. ": ON" btn.BackgroundColor3 = Color3.fromRGB(46, 139, 87) btn.TextColor3 = Color3.fromRGB(255, 255, 255) task.spawn(function() while active do if remote then remote:FireServer() end task.wait(0.02) -- 50 times/sec (5x standard 0.1s rate) end end) else btn.Text = name .. ": OFF" btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) btn.TextColor3 = Color3.fromRGB(200, 200, 200) end end) end -- Create Auto Toggles createToggle("Auto Fart", 35, "FartEvent") createToggle("Auto Poop", 80, "PoopEvent")