9551

simple tunneler

Jun 20th, 2021 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. ---simple tunneler by elektrobom1---
  2. print("how long do you want the tunnel to be ? ")
  3. local ins = tonumber(read())
  4. for i = 1, ins do
  5.     turtle.dig()
  6.     turtle.forward()
  7.     turtle.digUp()
  8. end
  9. turtle.turnRight()
  10. turtle.turnRight()
  11. for i = 1, ins do
  12.     turtle.forward()
  13. end
  14. print("mining completed")
  15.  
Add Comment
Please, Sign In to add comment