Advertisement
Guest User

commandblockstation.lua

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