Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for p=1, 50 do
- if turtle.detect() == true do
- turtle.dig()
- turtle.forward()
- for i=1, 5 do
- turtle.digUp()
- turtle.Up()
- end
- for o=1, 5 do
- turtle.Down()
- end
- turtle.back()
- turtle.select(1)
- if turtle.getItemCount(1) != 0 do
- turtle.place()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement