-- Toggle Logic toggleBtn.MouseButton1Click:Connect(function() Settings.AutoFarm = not Settings.AutoFarm if Settings.AutoFarm then farmActive = true toggleBtn.Text = "Stop Auto-Farm" toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 60, 60) statusText.Text = "Status: Starting farm..." coroutine.wrap(startFarming)() else farmActive = false toggleBtn.Text = "Start Auto-Farm" toggleBtn.BackgroundColor3 = Color3.fromRGB(60, 200, 60) statusText.Text = "Status: Stopped" currentTarget = nil end end)
-- Check if target died if not target.Parent or (target:FindFirstChild("Humanoid") and target.Humanoid.Health <= 0) then kills = kills + 1 killCounter.Text = "Kills: " .. kills statusText.Text = "Status: Killed, searching..." end else statusText.Text = "Status: No NPCs nearby" end script blox fruit redz
-- Settings (Editable) local Settings = AutoFarm = true, -- Master toggle FastAttack = true, -- Instantly attack NPCs AutoCollect = true, -- Auto pickup fruits/materials SafeMode = true, -- Run if HP < 30% MinHP = 30, -- HP percent threshold TeleportDelay = 1.5, -- Seconds between TP attacks KillRadius = 350, -- Max distance to search for NPCs -- Toggle Logic toggleBtn
local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.Text = "Redz Smart Auto-Farm" title.TextColor3 = Color3.fromRGB(255, 200, 100) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.TextSize = 18 title.Parent = frame -- Master toggle FastAttack = true