View difference between Paste ID: 39qTheqm and LF0rgJ2T
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(){
5+
if turtle.detect() then
6
  redstone.setOutput("right",true)
7
  redstone.setOutput("right",false)
8-
  turtle.dig()}
8+
  turtle.dig()
9
end