ratismal

wither construct

Aug 12th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. function build()
  2.   turtle.refuel()
  3.   turtle.select(2)
  4.   turtle.forward()
  5.   turtle.forward()
  6.   turtle.up()
  7.   turtle.placeDown()
  8.   turtle.turnLeft()
  9.   turtle.place()
  10.   turtle.turnRight()
  11.   turtle.turnRight()
  12.   turtle.place()
  13.   turtle.up()
  14.   turtle.placeDown()
  15.   turtle.select(3)
  16.   turtle.place()
  17.   turtle.turnLeft()
  18.   turtle.turnLeft()
  19.   turtle.place()
  20.   turtle.turnRight()
  21.   turtle.back()
  22.   turtle.place()
  23.   turtle.down()
  24.   turtle.down()
  25.   turtle.back()
  26. end
  27.  
  28. print("How many times do you want to cycle?")
  29. times = tonumber(read())
  30. i = 0
  31. for i=1,times do
  32.   build()
  33.   os.sleep(10)
  34. end
Advertisement
Add Comment
Please, Sign In to add comment