SHARE
TWEET

Untitled

omerapp99 Mar 22nd, 2019 (edited) 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local input = read()
  2.  function mine()
  3.   for i=1,64,1 do
  4.    
  5.     turtle.dig()
  6.     turtle.digDown()
  7.     turtle.forward()
  8.  
  9.   end
  10.  end
  11.  
  12.  
  13. for d=1,4,1 do
  14.     mine()
  15.   if input == "left" then
  16.     turtle.turnLeft()
  17.  end
  18.  if input == "right" then
  19.  turtle.turnRight()
  20.   end
  21.  end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top