Lucky_Taco99

Untitled

Jul 28th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function mineForward(spaces)
  2.     spaces = tonumber(spaces)
  3.     while not turtle.detect and spaces = 0 do
  4.     turtle.forward()
  5.     end
  6.     while turtle.detectUp do
  7.     turtle.digUp()
  8.     end
  9.     spaces = spaces - 1
  10.     end
Advertisement
Add Comment
Please, Sign In to add comment