local side = "right" ps = "A" local tid = 5 local laser = rs.getInput("left") while true do term.clear() term.setCursorPos(1,1) write(" Skriv A og trykk ENTER: ") if input == ps then term.clear() term.setCursorPos(1,1) print("Venter på laser") if laser == true do rs.setOutput(side,true) sleep(tid) rs.setOutput(side,false) else print("Skjønner ikke") sleep(2) end end