Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local input = read()
- function mine()
- for i=1,63,1 do
- turtle.dig()
- turtle.digDown()
- turtle.forward()
- end
- end
- for d=1,4,1 do
- mine()
- if input == "left" then
- turtle.turnLeft()
- end
- if input == "right" then
- turtle.turnRight()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement