-- Load Wally UI local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wall%20v3"))() local w = library:CreateWindow("Auto Farm") local b = w:CreateFolder("Main") -- Services local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local backpack = player:WaitForChild("Backpack") local remote = ReplicatedStorage:WaitForChild("Plant_RE") -- Toggles local autoCollect, autoSell, autoBuySeeds, autoPlant, autoWalkToPlant = false, false, false, false, false -- Get owned plot local function getOwnedPlot() for _, plot in pairs(workspace.Farm:GetChildren()) do local important = plot:FindFirstChild("Important") or plot:FindFirstChild("Importanert") if important then local data = important:FindFirstChild("Data") if data and data:FindFirstChild("Owner") and data.Owner.Value == player.Name then return plot end end end return nil end -- Auto Collect task.spawn(function() while task.wait(1) do if autoCollect then local plot = getOwnedPlot() local farm = plot and plot:FindFirstChild("Important"):FindFirstChild("Plants_Physical") if farm then for _, prompt in ipairs(farm:GetDescendants()) do if prompt:IsA("ProximityPrompt") then local playerRoot = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if playerRoot then local dist = (playerRoot.Position - prompt.Parent.Position).Magnitude if dist <= 20 then prompt.Exclusivity = Enum.ProximityPromptExclusivity.AlwaysShow prompt.MaxActivationDistance = 100 prompt.RequiresLineOfSight = false prompt.Enabled = true fireproximityprompt(prompt, 1, true) elseif autoWalkToPlant then -- Make the player walk to the plant if it's farther than 20 studs local humanoid = player.Character and player.Character:FindFirstChild("Humanoid") if humanoid then humanoid:MoveTo(prompt.Parent.Position + Vector3.new(0, 5, 0)) -- slight offset to stand near end end end end end end end end end) -- Auto Sell task.spawn(function() while task.wait(1) do if autoSell then ReplicatedStorage:WaitForChild("Sell_Inventory"):FireServer() end end end) -- Auto Buy Seeds local function autoBuySeedsFunction() local shopUI = player:WaitForChild("PlayerGui"):WaitForChild("Seed_Shop") local scroll = shopUI.Frame.ScrollingFrame for _, item in pairs(scroll:GetChildren()) do local stock = item:FindFirstChild("Stock") if stock and stock:IsA("NumberValue") and stock.Value > 0 then ReplicatedStorage:WaitForChild("GameEvents"):WaitForChild("BuySeedStock"):FireServer(item.Name) end end end task.spawn(function() while task.wait(.1) do if autoBuySeeds then autoBuySeedsFunction() end end end) -- Seed Tool Finder local function findSeedTool() for _, item in ipairs(player.Character:GetChildren()) do if item:IsA("Tool") and item.Name:find("Seed") then local crop = item.Name:match("^(.-) Seed") return item, crop end end for _, item in ipairs(backpack:GetChildren()) do if item:IsA("Tool") and item.Name:find("Seed") then local crop = item.Name:match("^(.-) Seed") return item, crop end end return nil, nil end -- Auto Plant task.spawn(function() while task.wait() do if autoPlant then local character = player.Character or player.CharacterAdded:Wait() local root = character:WaitForChild("HumanoidRootPart") local pos = Vector3.new(math.floor(root.Position.X), 0.1, math.floor(root.Position.Z)) local tool, seedType = findSeedTool() if tool and seedType then if tool.Parent == backpack then character:WaitForChild("Humanoid"):EquipTool(tool) repeat task.wait() until tool.Parent == character end remote:FireServer(pos, seedType) end end end end) -- UI Setup b:Toggle("Auto Collect", function(v) autoCollect = v end) b:Toggle("Enable Walk To", function(v) autoWalkToPlant = v end) b:Toggle("Auto Sell", function(v) autoSell = v end) b:Toggle("Auto Buy Seeds", function(v) autoBuySeeds = v end) b:Toggle("Auto Plant", function(v) autoPlant = v end) b:Label("Get Noclip", { TextSize = 20; TextColor = Color3.fromRGB(255, 255, 255); BgColor = Color3.fromRGB(30, 30, 30); })