local localPlayer = game:GetService("Players").LocalPlayer local replicatedStorage = game:GetService("ReplicatedStorage") local workspace = game:GetService("Workspace") local RunService = game:GetService("RunService") local cd = 0 local cd2 = 0 local autotool = false local servertokens = false local localtokens = false local autoquest = false local autogummy = false local autoconvert = false local autofarm = false local field = "Dandelion Field" local fields = {} for i,v in workspace.Fields:GetChildren() do table.insert(fields,v.Name) end local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/dementiaenjoyer/UI-LIBRARIES/refs/heads/main/wally-modified/source.lua')))() local window = library:CreateWindow('Credit: Neutral') -- UI toggles window:Section('Autofarm') window:Toggle("Auto Farm",{},function(value) autofarm = value end) window:Dropdown("Fields", { location = _G; flag = "fields"; list = fields }, function(selectedfield) field = selectedfield end) window:Section('Stuff') window:Toggle("Auto tool",{},function(value) autotool = value end) window:Toggle("Collect Local Tokens",{},function(value) localtokens = value end) window:Toggle("Collect Server Tokens",{},function(value) servertokens = value end) window:Toggle("Auto take/finish quest",{},function(value) autoquest = value end) window:Toggle("Auto Convert",{},function(value) autoconvert = value end) window:Toggle("Auto Gummy",{},function(value) autogummy = value end) -- Variables for platform + timer local teleportPlatform = workspace:FindFirstChild("HiveTeleportPlatform") local teleportTime = 0 game:GetService("RunService").RenderStepped:Connect(function(delta) cd += delta cd2 += delta local data = getrenv()._G.PData local character = localPlayer.Character local hrp = character and character:FindFirstChild("HumanoidRootPart") local tool = character and character:FindFirstChildWhichIsA("Tool") if not hrp then return end -- Tokens if localtokens then for _, v in workspace.Tokens.Ability[localPlayer.Name]:GetChildren() do if v:FindFirstChild("TouchInterest") then firetouchinterest(v, hrp, 0) end end for _, v in workspace.Tokens.Local[localPlayer.Name]:GetChildren() do if v:FindFirstChild("TouchInterest") then firetouchinterest(v, hrp, 0) end end end if servertokens then for _, v in workspace.Tokens.Server:GetChildren() do if v:FindFirstChild("TouchInterest") then firetouchinterest(v, hrp, 0) end end end -- Actions every 0.1s if cd > 0.1 then cd = 0 if autogummy and data.Cooldowns.Gumdrops < os.time() then replicatedStorage.Remotes.Item:FireServer({Item = "Gumdrops"}) end if autoconvert and data.Stats.Pollen >= data.Stats.Capacity then replicatedStorage.Remotes.Item:FireServer({Item = "Micro-Converter"}) end if autotool and tool then replicatedStorage.Remotes.Gather:FireServer() end if autoquest then for _,v in replicatedStorage.Modules.Quests:GetChildren() do replicatedStorage.Remotes.TakeQuest:FireServer(v.Name) replicatedStorage.Remotes.FinishQuest:FireServer(v.Name) end end end -- Autofarm every 0.5s if cd2 > 0.5 then cd2 = 0 if autofarm and field then if data.Stats.Pollen >= data.Stats.Capacity then -- Teleport to hive local hivePad = workspace.Hives[data.Info.Hive].Pad if hivePad then -- Create platform once if not teleportPlatform then teleportPlatform = Instance.new("Part") teleportPlatform.Name = "HiveTeleportPlatform" teleportPlatform.Size = Vector3.new(10,1,10) teleportPlatform.Anchored = true teleportPlatform.CanCollide = true teleportPlatform.Position = hivePad.Position + Vector3.new(0,8,14) teleportPlatform.Parent = workspace end -- Move player to platform hrp.CFrame = CFrame.new(teleportPlatform.Position + Vector3.new(0,3,0)) -- Convert at hive if not data.Info.Converting then replicatedStorage.Remotes.Hive:FireServer({Action = "Convert"}) end end elseif not data.Info.Converting then -- Move to random flower in field local flowerIndex = math.random(1,#workspace.Fields[field]:GetChildren()) local flowerPart = workspace.Fields[field]:GetChildren()[flowerIndex] if flowerPart and flowerPart.Name == "Flower" and flowerPart.ClassName == "Part" then hrp.CFrame = CFrame.new(flowerPart.Position, flowerPart.Position + hrp.CFrame.LookVector) end end end end -- Check if standing too long on platform if teleportPlatform then local distance = (hrp.Position - teleportPlatform.Position).Magnitude if distance < 5 then teleportTime += delta if teleportTime >= 30 then hrp.CFrame = hrp.CFrame + Vector3.new(0,100,0) print("You were standing too long! Teleported up.") teleportTime = 0 end else teleportTime = 0 end end end)