Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TotalCobble = 0
- local CurrentCobble = 0
- local x , y = term.getCursorPos()
- while true do
- if turtle.detect() then
- turtle.dig()
- CurrentCobble = CurrentCobble + 1
- TotalCobble = TotalCobble + 1
- term.setCursorPos(x,y)
- term.write("Cobble Farmed: " .. TotalCobble)
- end
- if CurrentCobble >= 64 then
- turtle.dropUp()
- CurrentCobble = 0
- end
- sleep(.001)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement