Lukyrouge22

Untitled

Jun 8th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. function recevoir()
  2. if turtle.getItemCount(5) >= 1 then
  3. sleep(10)
  4. for i = 1, 5 do
  5. turtle.forward()
  6. end
  7. while not turtle.detectUp() do
  8. turtle.up()
  9. end
  10. if turtle.detectUp() then
  11. for i = 1, 16 do
  12. turtle.select(i)
  13. turtle.dropUp()
  14. end
  15. end
  16. while not turtle.detectDown() do
  17. turtle.down()
  18. end
  19. if turtle.detectDown() then
  20. for i = 1, 5 do
  21. turtle.back()
  22. end
  23. end
  24. end
  25. end
  26. while true do
  27. recevoir()
  28. end
Add Comment
Please, Sign In to add comment