View difference between Paste ID: WHWq0rup and s1mReBSw
SHOW: | | - or go back to the newest paste.
1
while true do
2
  while rs.getInput("right") do
3-
    redstone.setOutput("left",true)
3+
4
  end
5
  os.sleep(2)
6-
  redstone.setOutput("left",false)
6+