Advertisement
Guest User

commandblockstation.lua

a guest
Dec 14th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.76 KB | None | 0 0
  1. os.reboot()
  2. print("Slot 1 Commandblock (10)")
  3. print(  "Slot 2 grauer Beton(12)")
  4. print(  "Slot 3 hellgrauer Beton(10)")
  5. print(     "Slot 4 Knopf(10)")
  6. print("Drücke Enter wenn du bereit bist")
  7. if read("1") then
  8. turtle.turnLeft()
  9. turtle.turnLeft()
  10. turtle.back()
  11. for i=1,5 do
  12. turtle.select(2)
  13. turtle.back()
  14. turtle.place()
  15. turtle.select(3)
  16. turtle.back()
  17. turtle.place()
  18. end
  19. turtle.back()
  20. turtle.select(2)
  21. turtle.place()
  22. turtle.up()
  23. turtle.turnLeft()
  24. turtle.turnLeft()
  25. turtle.back()
  26. for i=1,5 do
  27. turtle.back()
  28. turtle.select(2)
  29. turtle.place()
  30. turtle.back()
  31. turtle.select(3)
  32. turtle.place()
  33. end
  34. turtle.back()
  35. turtle.select(2)
  36. turtle.place()
  37. turtle.turnLeft()
  38. turtle.forward()
  39. turtle.turnLeft()
  40. turtle.back()
  41. turtle.select(1)
  42. turtle.back()
  43. for i=1,5 do
  44. turtle.back()
  45. turtle.place()
  46. turtle.back()
  47. end
  48. turtle.down()
  49. turtle.turnLeft() turtle.turnLeft()
  50. turtle.back()
  51. turtle.back()
  52. for i=1,5 do
  53. turtle.back()
  54. turtle.place()
  55. turtle.back()
  56. end
  57. turtle.turnRight()
  58. turtle.forward()
  59. turtle.forward()
  60. turtle.turnLeft()
  61. turtle.select(4)
  62. turtle.digDown()
  63. turtle.down()
  64. for i=1,11 do
  65. turtle.dig()
  66. turtle.forward()
  67. end
  68. turtle.up()
  69. turtle.turnLeft()
  70. turtle.back()
  71. turtle.turnLeft()
  72. for i=1,5 do
  73. turtle.forward()
  74. turtle.turnRight()
  75. turtle.place()
  76. turtle.turnLeft()
  77. turtle.forward()
  78. end
  79. turtle.turnLeft()
  80. turtle.turnLeft()
  81. turtle.up()
  82. for i=1,5 do
  83. turtle.forward()
  84. turtle.turnLeft()
  85. turtle.place()
  86. turtle.turnRight()
  87. turtle.forward()
  88. end
  89. turtle.down()
  90. turtle.turnLeft()
  91. turtle.forward()
  92. turtle.down()
  93. turtle.turnRight()
  94. turtle.select(5)
  95. for i=1,11 do
  96. turtle.back()
  97. turtle.place()
  98. end
  99. turtle.up()
  100. turtle.placeDown()
  101. end
  102. turtle.turnLeft()
  103. turtle.forward()
  104. turtle.turnRight()
  105. print("Fertig!")
  106. os.sleep(5)
  107. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement