Advertisement
hevohevo

CC: tofu2

Mar 3rd, 2016
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.93 KB | None | 0 0
  1. -- tofu2
  2. --  put blocks in the form of the square
  3.  
  4. turtle.up()  -- move up
  5.  
  6. -- place 4 blocks on the ground with the "for statement"
  7. for i=1,4 do
  8.   turtle.forward()  -- move to next position
  9.   turtle.placeDown()  -- place a block
  10. end
  11.  
  12. turtle.turnRight()  -- turn 90 degrees to the right
  13.  
  14. -- place 4 blocks on the ground with the "for statement"
  15. for i=1,4 do
  16.   turtle.forward()  -- move to next position
  17.   turtle.placeDown()  -- place a block
  18. end
  19.  
  20. turtle.turnRight()  -- turn 90 degrees to the right
  21.  
  22. -- place 4 blocks on the ground with the "for statement"
  23. for i=1,4 do
  24.   turtle.forward()  -- move to next position
  25.   turtle.placeDown()  -- place a block
  26. end
  27.  
  28. turtle.turnRight()  -- turn 90 degrees to the right
  29.  
  30. -- place 4 blocks on the ground with the "for statement"
  31. for i=1,4 do
  32.   turtle.forward()  -- move to next position
  33.   turtle.placeDown()  -- place a block
  34. end
  35.  
  36. turtle.turnRight()  -- turn 90 degrees to the right
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement