Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- os.pullEvent("redstone")
- if rs.getInput("left") then
- turtle.forward()
- chopthetree()
- turtle.back()
- end
- end
- function chopthetree()
- repeat
- turtle.dig()
- turtle.digUp()
- turtle.up()
- until not turtle.detect()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement