Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (true) do
- os.pullEvent("redstone")
- if rs.getAnalogInput("right") <7 then
- rs.setOutput("bottom",true)
- end
- if rs.getAnalogInput("left") >14 then
- rs.setOutput("bottom",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement