Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if redstone.getAnalogInput("right") <= 13 then
- redstone.setAnalogOutput("left", 15)
- os.pullEvent("redstone")
- else
- redstone.setAnalogOutput("left", 0)
- os.pullEvent("redstone")
- end
- end
Add Comment
Please, Sign In to add comment