Advertisement
Guest User

miner

a guest
Feb 20th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. term.write("how many blocks forward?")
  2. blocks = read()
  3.  
  4. for i = 1, blocks do
  5.     while not turtle.forward() do
  6.        turtle.dig()
  7.        end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement