Octagonal_Square

prepQuarry

Mar 31st, 2021
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. os.loadAPI("t")
  2.  
  3. local bedrock = false
  4. local y = 0
  5.  
  6. while not bedrock do
  7.     y = y+1
  8.     local dugDwn = t.digDown()
  9.    
  10.     if dugDwn == false then
  11.         bedrock = true
  12.     end
  13.     else then
  14.         t.down()
  15.     end
  16. end
  17.  
  18. for i=0, y do
  19.     t.up()
  20.     turtle.select(1)
  21.     turtle.placeDown()
  22. end
Advertisement
Add Comment
Please, Sign In to add comment