Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Place blocks in slot 1 and ladders in slot 2")
- term.write("How high? ")
- height = tonumber(read())
- function place()
- while turtle.place() == false do
- turtle.attack()
- turtle.dig()
- turtle.place()
- end
- end
- for i = 1, height do
- turtle.select(1)
- place()
- turtle.back()
- turtle.select(2)
- place()
- turtle.up()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement