term.clear() term.setCursorPos(1,1) _G.meow = function() peripheral.call("left","playSound","entity.cat.ambient") end parallel.waitForAny( function() shell.run("shell") end, function() while true do os.pullEvent("turtle_inventory") if math.random(100) > 95 then meow() --peripheral.call("left","playSound","entity.cat.ambient") end end end ) os.shutdown()