Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local i=0
- function p()
- term.clear()
- term.setCursorPos(1,1)
- print(i.." Blocks")
- end
- while true do
- while turtle.detect() do
- turtle.dig()
- i=i+1
- p()
- end
- while turtle.detectDown() do
- turtle.digDown()
- i=i+1
- p()
- end
- while turtle.detectUp() do
- turtle.digUp()
- i=i+1
- p()
- end
- sleep(0.125)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement