-- Auto Clicker Script for Delta - Enhanced Version local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local mouse = player:GetMouse() -- Create UI local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local UICorner = Instance.new("UICorner") local TitleLabel = Instance.new("TextLabel") local SpeedLabel = Instance.new("TextLabel") local SpeedBox = Instance.new("TextBox") local ToggleButton = Instance.new("TextButton") local StatusLabel = Instance.new("TextLabel") local DebugButton = Instance.new("TextButton") local FooterLabel = Instance.new("TextLabel") ScreenGui.Name = "KZBRAutoClicker" ScreenGui.Parent = player:WaitForChild("PlayerGui") ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -- Main Frame with smooth design MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 45) MainFrame.BackgroundTransparency = 0.1 MainFrame.BorderSizePixel = 0 MainFrame.Position = UDim2.new(0, 15, 0, 15) MainFrame.Size = UDim2.new(0, 280, 0, 240) MainFrame.Active = true MainFrame.Draggable = true UICorner.Parent = MainFrame UICorner.CornerRadius = UDim.new(0, 12) -- Title TitleLabel.Name = "TitleLabel" TitleLabel.Parent = MainFrame TitleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.BackgroundTransparency = 1 TitleLabel.Position = UDim2.new(0, 15, 0, 15) TitleLabel.Size = UDim2.new(0, 250, 0, 25) TitleLabel.Font = Enum.Font.GothamBold TitleLabel.Text = "DELTA AUTO CLICKER" TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.TextSize = 16 TitleLabel.TextXAlignment = Enum.TextXAlignment.Left -- Speed Label SpeedLabel.Name = "SpeedLabel" SpeedLabel.Parent = MainFrame SpeedLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) SpeedLabel.BackgroundTransparency = 1 SpeedLabel.Position = UDim2.new(0, 15, 0, 50) SpeedLabel.Size = UDim2.new(0, 250, 0, 20) SpeedLabel.Font = Enum.Font.Gotham SpeedLabel.Text = "Click Speed (CPS):" SpeedLabel.TextColor3 = Color3.fromRGB(220, 220, 220) SpeedLabel.TextSize = 14 SpeedLabel.TextXAlignment = Enum.TextXAlignment.Left -- Speed Input Box SpeedBox.Name = "SpeedBox" SpeedBox.Parent = MainFrame SpeedBox.BackgroundColor3 = Color3.fromRGB(50, 50, 60) SpeedBox.BorderSizePixel = 0 SpeedBox.Position = UDim2.new(0, 15, 0, 75) SpeedBox.Size = UDim2.new(0, 250, 0, 32) SpeedBox.Font = Enum.Font.Gotham SpeedBox.PlaceholderText = "Enter speed here" SpeedBox.Text = "10" SpeedBox.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedBox.TextSize = 14 SpeedBox.ClearTextOnFocus = false local SpeedBoxCorner = Instance.new("UICorner") SpeedBoxCorner.Parent = SpeedBox SpeedBoxCorner.CornerRadius = UDim.new(0, 6) -- Toggle Button ToggleButton.Name = "ToggleButton" ToggleButton.Parent = MainFrame ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 140, 255) ToggleButton.BorderSizePixel = 0 ToggleButton.Position = UDim2.new(0, 15, 0, 120) ToggleButton.Size = UDim2.new(0, 250, 0, 42) ToggleButton.Font = Enum.Font.GothamBold ToggleButton.Text = "START AUTO CLICK" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.TextSize = 15 ToggleButton.AutoButtonColor = true local ToggleButtonCorner = Instance.new("UICorner") ToggleButtonCorner.Parent = ToggleButton ToggleButtonCorner.CornerRadius = UDim.new(0, 8) -- Debug Button DebugButton.Name = "DebugButton" DebugButton.Parent = MainFrame DebugButton.BackgroundColor3 = Color3.fromRGB(80, 80, 90) DebugButton.BorderSizePixel = 0 DebugButton.Position = UDim2.new(0, 15, 0, 172) DebugButton.Size = UDim2.new(0, 250, 0, 32) DebugButton.Font = Enum.Font.Gotham DebugButton.Text = "DEBUG: FIND BUTTONS" DebugButton.TextColor3 = Color3.fromRGB(255, 255, 255) DebugButton.TextSize = 13 DebugButton.AutoButtonColor = true local DebugButtonCorner = Instance.new("UICorner") DebugButtonCorner.Parent = DebugButton DebugButtonCorner.CornerRadius = UDim.new(0, 6) -- Status Label StatusLabel.Name = "StatusLabel" StatusLabel.Parent = MainFrame StatusLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) StatusLabel.BackgroundTransparency = 1 StatusLabel.Position = UDim2.new(0, 15, 0, 210) StatusLabel.Size = UDim2.new(0, 250, 0, 20) StatusLabel.Font = Enum.Font.Gotham StatusLabel.Text = "Status: Inactive" StatusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) StatusLabel.TextSize = 13 StatusLabel.TextXAlignment = Enum.TextXAlignment.Left -- Footer with copyright FooterLabel.Name = "FooterLabel" FooterLabel.Parent = MainFrame FooterLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) FooterLabel.BackgroundTransparency = 1 FooterLabel.Position = UDim2.new(0, 0, 0, 218) FooterLabel.Size = UDim2.new(1, 0, 0, 20) FooterLabel.Font = Enum.Font.Gotham FooterLabel.Text = "© 2024 KZBR HUB | All Rights Reserved" FooterLabel.TextColor3 = Color3.fromRGB(150, 150, 160) FooterLabel.TextSize = 11 FooterLabel.TextXAlignment = Enum.TextXAlignment.Center -- Script variables local autoClickEnabled = false local connection = nil local manualPartsCache = {} -- Enhanced button hover effects local function createHoverEffect(button) local originalColor = button.BackgroundColor3 local hoverColor = Color3.fromRGB( math.min(originalColor.R * 255 + 20, 255), math.min(originalColor.G * 255 + 20, 255), math.min(originalColor.B * 255 + 20, 255) ) button.MouseEnter:Connect(function() local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local tween = TweenService:Create(button, tweenInfo, {BackgroundColor3 = hoverColor}) tween:Play() end) button.MouseLeave:Connect(function() local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local tween = TweenService:Create(button, tweenInfo, {BackgroundColor3 = originalColor}) tween:Play() end) end -- Apply hover effects createHoverEffect(ToggleButton) createHoverEffect(DebugButton) -- Enhanced manual parts finding function function findManualParts() manualPartsCache = {} -- Search patterns local searchPatterns = { "ManualPart", "manualpart", "Manual", "manual", "Part", "part", "Button", "button", "Click", "click", "Hit", "hit", "Farm", "farm" } -- Search locations local searchLocations = { workspace, workspace:FindFirstChild("Hitbox"), workspace:FindFirstChild("HITBOX"), workspace:FindFirstChild("hitbox"), workspace:FindFirstChild("Buttons"), workspace:FindFirstChild("buttons"), workspace:FindFirstChild("Manual"), workspace:FindFirstChild("manual"), workspace:FindFirstChild("Farm"), workspace:FindFirstChild("farm") } print("=== STARTING BUTTON SEARCH ===") -- Search in specific locations for _, location in pairs(searchLocations) do if location then for _, pattern in pairs(searchPatterns) do for _, obj in pairs(location:GetDescendants()) do if obj:IsA("Part") or obj:IsA("MeshPart") or obj:IsA("UnionOperation") then if string.find(obj.Name:lower(), pattern:lower()) then if not table.find(manualPartsCache, obj) then table.insert(manualPartsCache, obj) print("✅ Found: " .. obj.Name .. " in " .. location.Name) end end end -- Search for ClickDetector if obj:IsA("ClickDetector") then local parent = obj.Parent if parent and (parent:IsA("Part") or parent:IsA("MeshPart") or parent:IsA("UnionOperation")) then if not table.find(manualPartsCache, parent) then table.insert(manualPartsCache, parent) print("✅ Found ClickDetector in: " .. parent.Name) end end end end end end end -- Fallback: search entire workspace if #manualPartsCache == 0 then print("🔍 Searching entire workspace...") for _, obj in pairs(workspace:GetDescendants()) do if obj:IsA("ClickDetector") then local parent = obj.Parent if parent and (parent:IsA("Part") or parent:IsA("MeshPart") or parent:IsA("UnionOperation")) then if not table.find(manualPartsCache, parent) then table.insert(manualPartsCache, parent) print("✅ Found ClickDetector in: " .. parent.Name) end end end end end print("=== SEARCH COMPLETE. Found: " .. #manualPartsCache .. " buttons ===") return manualPartsCache end -- Enhanced clicking function function clickOnPart(part) if part and part:IsA("Part") then -- Method 1: ClickDetector local clickDetector = part:FindFirstChildOfClass("ClickDetector") if clickDetector then fireclickdetector(clickDetector) return true end -- Method 2: Touch Transmitter local touchInterest = part:FindFirstChildOfClass("TouchTransmitter") if touchInterest then part.CFrame = part.CFrame return true end -- Method 3: Custom events if part:FindFirstChild("Click") then part.Click:Fire() return true end if part:FindFirstChild("Activate") then part.Activate:Fire() return true end end return false end -- Toggle auto-clicker ToggleButton.MouseButton1Click:Connect(function() autoClickEnabled = not autoClickEnabled if autoClickEnabled then ToggleButton.Text = "STOP AUTO CLICK" ToggleButton.BackgroundColor3 = Color3.fromRGB(220, 60, 60) StatusLabel.Text = "Status: Searching for buttons..." -- Update button cache findManualParts() if #manualPartsCache > 0 then StatusLabel.Text = "Status: Active - " .. #manualPartsCache .. " buttons" else StatusLabel.Text = "Status: No buttons found" autoClickEnabled = false ToggleButton.Text = "START AUTO CLICK" ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 140, 255) return end -- Get speed from input local speed = tonumber(SpeedBox.Text) or 10 local delay = 1 / speed -- Start auto-clicking connection = RunService.Heartbeat:Connect(function() if #manualPartsCache > 0 then local successCount = 0 for _, part in pairs(manualPartsCache) do if clickOnPart(part) then successCount = successCount + 1 end wait(delay / #manualPartsCache) end StatusLabel.Text = "Status: Active - " .. successCount .. "/" .. #manualPartsCache .. " buttons" else StatusLabel.Text = "Status: No buttons found" end end) else ToggleButton.Text = "START AUTO CLICK" ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 140, 255) StatusLabel.Text = "Status: Inactive" -- Stop auto-clicking if connection then connection:Disconnect() connection = nil end end end) -- Debug button DebugButton.MouseButton1Click:Connect(function() print("🔍 Searching for buttons...") local foundParts = findManualParts() StatusLabel.Text = "Status: Found " .. #foundParts .. " buttons" if #foundParts > 0 then print("🎯 Found buttons:") for i, part in ipairs(foundParts) do print(i .. ". " .. part.Name .. " at " .. part:GetFullName()) end else print("❌ No buttons found") print("💡 Tips:") print(" - Check game name") print(" - Verify Hitbox exists") print(" - Look for ManualPart") end end) -- Speed input validation SpeedBox:GetPropertyChangedSignal("Text"):Connect(function() local text = SpeedBox.Text if not tonumber(text) then SpeedBox.Text = "10" elseif tonumber(text) > 100 then SpeedBox.Text = "100" elseif tonumber(text) < 1 then SpeedBox.Text = "1" end if autoClickEnabled then StatusLabel.Text = "Status: Change speed while stopped" end end) -- Smooth focus effects for text box SpeedBox.Focused:Connect(function() local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local tween = TweenService:Create(SpeedBox, tweenInfo, {BackgroundColor3 = Color3.fromRGB(60, 60, 75)}) tween:Play() end) SpeedBox.FocusLost:Connect(function() local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local tween = TweenService:Create(SpeedBox, tweenInfo, {BackgroundColor3 = Color3.fromRGB(50, 50, 60)}) tween:Play() end) -- Initialization message print("✅ Enhanced Auto Clicker loaded successfully!") print("🔧 Use 'DEBUG' button to automatically find buttons") print("© 2024 KZBR HUB | All Rights Reserved")