Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. local redstone = 1
  2. local rail = 2
  3.  
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. print("Place Redstone Slot 1 & Rail Slot 2")
  7. print("Enter length:")
  8. local number = tonumber(io.read())
  9.  
  10. for i=1, n do
  11. turtle.digDown()
  12. turtle.down()
  13. turtle.digDown()
  14.  
  15. turtle.select(redstone)
  16. turtle.placeDown()
  17.  
  18. turtle.up()
  19.  
  20. turtle.select(rail)
  21. turtle.placeDown()
  22.  
  23. for i=1, 20 do
  24. turtle.forward()
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement