View difference between Paste ID: ZmRjjFvW and 8CBxR5hn
SHOW: | | - or go back to the newest paste.
1
while true do
2-
  variable = os.pullEvent("redstone")
2+
  os.pullEvent("redstone")
3
  redstone.setOutput("front", true)
4
  sleep(.5)
5
  redstone.setOutput("front", false)
6-
  turtle.digForward()
6+
  turtle.dig()
7
  turtle.place()
8
end