Advertisement
Guest User

Place.lua

a guest
Feb 22nd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. p = 0
  2. while true do
  3.  
  4. print(p)
  5. if(p == 64) then
  6. turtle.select(turtle.getSelectedSlot()+1)
  7. p = 0
  8. end
  9.  
  10. turtle.place()
  11. p = p+1
  12.  
  13. if(turtle.back() == false) then
  14. turtle.up()
  15. p = p+1
  16. turtle.placeDown()
  17. turtle.turnLeft()
  18. turtle.turnLeft()
  19. end
  20.  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement