Advertisement
hevohevo

CC: tofu3

Mar 3rd, 2016
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. -- tofu3
  2. --  put blocks in the form of the square
  3.  
  4. turtle.up()  -- move up
  5.  
  6. -- make 4 sides of a square
  7. for hen=1,4 do
  8.   -- put 4 blocks in the ground
  9.   for i=1,4 do
  10.     turtle.forward()  -- move to next position
  11.     turtle.placeDown()  -- place a block
  12.   end
  13.  
  14.   turtle.turnRight()  -- turn 90 degrees to the right
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement