Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turtle.select(1)
- while true do
- os.pullEvent("redstone")
- local rsInput = rs.getInput("back")
- if rsInput and turtle.detect() then
- turtle.dig()
- elseif not (rsInput and turtle.detect()) then
- turtle.place()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement