Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = peripheral
- turtle.select(1)
- turtle.place()
- local m = p.wrap("front")
- while m.isActive() then
- sleep(.5)
- if rs.getInput("back", false) then
- rs.setOutput("bottom", true)
- end
- end
- sleep(5)
- rs.setOutput("bottom", false)
- sleep(1)
- rs.setOutput("back", true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement