Guest User

Untitled

a guest
Dec 1st, 2020
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. sleep(1)
  2.  
  3. for y = 1, 10 do
  4. for x = 1, 10 do
  5. turtle.forward()
  6. if ((y-1) * 10 x-1) % 2 == 0 then
  7. turtle.digDown()
  8. end
  9. end
  10. turtle.forward()
  11. if y % 2 == 0 then
  12. turtle.turnRight()
  13. turtle.forward()
  14. turtle.turnRight()
  15. else
  16. turtle.turnLeft()
  17. turtle.forward()
  18. turtle.turnLeft()
  19. end
  20. end
Add Comment
Please, Sign In to add comment