SHARE
TWEET

Untitled

a guest Nov 17th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local arg = ...
  2. top = false
  3. for i=0,arg do
  4.     if top then
  5.         turtle.digForward()
  6.         turtle.moveForward()
  7.         turtle.turnLeft()
  8.         turtle.digForward()
  9.         turtle.turnRight()
  10.         turtle.turnRight()
  11.         turtle.digForward()
  12.         turtle.digDown()
  13.         turtle.moveDown()
  14.         turtle.digForward()
  15.         turtle.turnLeft()
  16.         turtle.turnLeft()
  17.         turtle.digForward()
  18.         turtle.turnRight()
  19.     else
  20.         turtle.digForward()
  21.         turtle.moveForward()
  22.         turtle.digUp()
  23.         turtle.turnLeft()
  24.         turtle.digForward()
  25.         turtle.turnRight()
  26.         turtle.turnRight()
  27.         turtle.digForward()
  28.         turtle.moveUp()
  29.         turtle.digForward()
  30.         turtle.turnLeft()
  31.         turtle.turnLeft()
  32.         turtle.digForward()
  33.         turtle.turnRight()
  34.     end
  35.     top = not top
  36. 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
 
Top