Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local redstone = 1
- local rail = 2
- term.clear()
- term.setCursorPos(1,1)
- print("Place Redstone Slot 1 & Rail Slot 2")
- print("Enter length:")
- local number = tonumber(io.read())
- for i=1, n do
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.select(redstone)
- turtle.placeDown()
- turtle.up()
- turtle.select(rail)
- turtle.placeDown()
- for i=1, 20 do
- turtle.forward()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement