daily pastebin goal
41%
SHARE
TWEET

Dig.lua

a guest Jan 29th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. i = read()
  2. x=1
  3.  
  4.  
  5. for i=1, i do
  6.     turtle.dig()
  7.     turtle.forward()
  8.     turtle.digUp()
  9.     x=x+1
  10.         if x==12 then
  11.             turtle.select(2)
  12.             turtle.turnLeft()
  13.             turtle.turnLeft()
  14.             turtle.place()
  15.             turtle.turnLeft()
  16.             turtle.turnLeft()
  17.             turtle.select(1)
  18.             x=1
  19.         else
  20.         end        
  21. end
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top