Advertisement
argaman

Untitled

Jun 12th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. for i=1,4,1 do
  2. -- create wall
  3. for j=1,5,1 do
  4. --create line
  5. for k=1,5,1 do
  6. turtle.place()
  7. turtle.turnLeft()
  8. turtle.forward()
  9. turtle.turnRight()
  10. end
  11. --get ready for the next line
  12. turtle.turnRight()
  13. for k=1,5,1 do
  14. turtle.forward()
  15. end
  16. turtle.turnLeft()
  17. turtle.up()
  18. end
  19. -- move to the next wall
  20. turtle.turnLeft()
  21. for j=1,4,1 do
  22. turtle.forward()
  23. end
  24. for j=1,5,1 do
  25. turtle.down()
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement