Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = peripheral.wrap("right")
- print("What is the Y value of this turtle?")
- local height = tonumber(read())
- while height > 6 do
- p.dig()
- p.digUp()
- turtle.forward()
- p.digUp()
- turtle.down()
- height = height - 1;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement