Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function zu()
- for i = 1,5 do
- rs.setOutput("bottom", true)
- sleep(0.5)
- rs.setOutput("bottom", false)
- sleep(0.5)
- end
- end
- function auf()
- for i = 1,5 do
- rs.setOutput("left", true)
- sleep(0.5)
- rs.setOutput("left", false)
- sleep(0.5)
- end
- end
- while true do
- if rs.getInput("right", true) and rs.getInput("top", true) then
- auf()
- sleep(1.5)
- zu()
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement