local timeout = 3 function ontimer() sleep(timeout) end function onkey() os.pullEvent('key') end parallel.waitForAny(ontimer, onkey) --This waits for either of the 2 functions to finish before continuing --Further processing below this line
masterdisasterHD's Content
There have been 3 items by masterdisasterHD (Search limited from 30-March 23)