View difference between Paste ID: Y0hVPuiL and 39qTheqm
SHOW: | | - or go back to the newest paste.
1
turtle.select(1)
2
turtle.place()
3
redstone.setOutput("right",true)
4
redstone.setOutput("right",false)
5-
if turtle.detect() then
5+
while not turtle.compare() do
6
  redstone.setOutput("right",true)
7
  redstone.setOutput("right",false)
8
  turtle.dig()
9
end