Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- timeLeft=1
- timeRight=5
- while true do
- if (redstone.getInput("back")==false) then
- redstone.setOutput("left",true)
- os.sleep(timeLeft)
- redstone.setOutput("left",false)
- redstone.setOutput("right",true)
- os.sleep(timeRight)
- redstone.setOutput("right",false)
- else
- os.sleep(60)
- end
- end
Add Comment
Please, Sign In to add comment