View difference between Paste ID: Y5dp4Pfn and MAj6s6Jv
SHOW: | | - or go back to the newest paste.
1
while true do
2-
if turtle.detect() then
2+
  if turtle.detect() then
3-
  turtle.digUp()
3+
    turtle.digUp()
4-
  turtle.dig()
4+
    turtle.dig()
5
  end
6-
else
6+