I can't get it to work. I am not good at any sort of programming.
This is what I have so far, cobbled together from the net... and probably bad:
function gate()
rs.setBundledOutput("left", colors.yellow)
end
function wall()
rs.setBundledOutput("left", colors.black)
end
function crushers()
rs.setBundledOutput("left", colors.red)
sleep(14)
end
function listener()
while true do
if rs.getInput("back") then
gate()
sleep(0.2)
wall()
sleep(0.2)
crushers()
end
sleep(0)
end
end












