Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- pastebin get i4mmbk3W obsidianBreaker
- -- Set resting signals
- redstone.setOutput("right", false)
- redstone.setOutput("left", false)
- while true do
- redstone.setOutput("left", not redstone.getOutput("left"))
- redstone.setOutput("right", not redstone.getOutput("right"))
- os.sleep(3)
- if turtle.detect() == true then
- turtle.dig()
- redstone.setOutput("left", not redstone.getOutput("left"))
- redstone.setOutput("right", not redstone.getOutput("right"))
- end
- os.sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement