local autoFarm = true task.spawn(function() while true do if autoFarm then local character = game.Players.LocalPlayer.Character local hrp = character and character:FindFirstChild("HumanoidRootPart") local coinsFolder = workspace.World.Coins if hrp and coinsFolder then for _, coin in ipairs(coinsFolder:GetChildren()) do if coin:IsA("Model") then hrp.CFrame = coin:GetPivot() elseif coin:IsA("BasePart") then hrp.CFrame = coin.CFrame end task.wait(0.05) end end end task.wait() end end)