Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function frameMove()
- pulse("left")
- pulse("back")
- end
- function pulse(side)
- redstone.setOutput(side, true)
- sleep(0.4)
- redstone.setOutput(side, false)
- sleep(0.4)
- end
- function dig()
- rednet.open("right")
- for i = 1, 8 do
- rednet.send(i, "cycle")
- end
- end
- function cycle()
- frameMove()
- dig()
- sleep(22)
- end
- while true do
- if redstone.getInput("top") == true then
- cycle()
- end
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement