Advertisement
Sir_Popsilots

Untitled

Jun 19th, 2021
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | None | 0 0
  1. local slot = 1
  2. local condition = true
  3. while condition do
  4.     if turtle.getItemCount(slot) > 4 then
  5.         condition=false
  6.     else
  7.         if slot == 16 then
  8.             condition = false
  9.         else
  10.             slot = slot + 1
  11.         end
  12.     end
  13.  
  14. end
  15. turtle.select(slot)
  16. if condition then
  17.     turtle.turnLeft()
  18.     turtle.turnLeft()
  19.  
  20.  
  21. else
  22.     turtle.place()
  23.     turtle.turnRight()
  24.     turtle.forward()
  25.     turtle.forward()
  26.     turtle.turnLeft()
  27.     turtle.place()
  28.     turtle.turnLeft()
  29.     turtle.forward()
  30.     turtle.turnRight()
  31.     turtle.up()
  32.     turtle.place()
  33.     turtle.up()
  34.     turtle.place()
  35. end
  36. turtle.select(1)
  37. turtle.turnLeft()
  38. turtle.turnLeft()
  39. turtle.down()
  40. turtle.down()
  41. shell.execute("label","set","azazazaza")
  42. shell.execute("pastebin","run","zQRuzu98")
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement