local speed = 25 _G.Autofarm = true local tweenService = game:GetService("TweenService") local players = game:GetService("Players") local player = players.LocalPlayer local function doTween(part) local char = player.Character if char then local root = char:FindFirstChild("HumanoidRootPart") local hum = char:FindFirstChildOfClass("Humanoid") if root and hum and hum.Health > 0 then local ppos = root.Position local tpos = part.Position + Vector3.new(0, 3, 0) local dist = (ppos - tpos).Magnitude local timetaken = dist / speed local info = TweenInfo.new(timetaken, Enum.EasingStyle.Linear) local tween = tweenService:Create(root, info, {CFrame = CFrame.new(tpos)}) tween:Play() tween.Completed:Wait() end end end while _G.Autofarm == true do local f1 = workspace:FindFirstChild("GameStuff") local f2 = f1 and f1:FindFirstChild("Jobs") local f3 = f2 and f2:FindFirstChild("BoxJob") local f4 = f3 and f3:FindFirstChild("DeliverySystem") local folder = f4 and f4:FindFirstChild("DontDeleteTheseObjects") if folder then local p1 = folder:FindFirstChild("GetJobPart") local p2 = folder:FindFirstChild("TargetPart") local prompt = p1 and p1:FindFirstChildOfClass("ProximityPrompt") if p1 and p2 and prompt then doTween(p1) task.wait(0.5) if fireproximityprompt then fireproximityprompt(prompt) else prompt:InputBegan(Enum.UserInputType.Keyboard) task.wait(1.2) prompt:InputEnded(Enum.UserInputType.Keyboard) end task.wait(1.3) doTween(p2) task.wait(0.8) else task.wait(1) end else task.wait(1) end end