View difference between Paste ID: 2jGPnwH2 and NNejWudw
SHOW: | | - or go back to the newest paste.
1
 while true do
2-
  while redstone.getInput("back") do
2+
  while redstone.getInput("left") do
3-
     turtle.attack()
3+
     redstone.setOutput("top", true)
4-
     sleep(.1)
4+
     sleep(3)
5
     redstone.setOutput("top", false)
6-
  sleep(.5)
6+
7
  sleep(1)
8
 end