Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if rs.getAnalogInput("left") < 2
- then rs.setBundledOutput("bottom",colors.red)
- end
- if rs.getAnalogInput("left") > 6
- then rs.setBundledOutput("bottom",0)
- end
- if rs.getAnalogInput("left") < 9
- then rs.setOutput("top",true)
- end
- if rs.getAnalogOutput("left") > 9
- then rs.setOutput("top",false)
- end
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement