You'll notice that the key signature for this lick is labeled as Bb major, but I'm really just trying to let the reader know that the tonal center is Bb. I've set this lick up to resolve like a blues lick. You'll notice that the first note, Db, could be interpreted as the #9 on a Bb7 chord. From there, we are just using diminished chord tones to establish a sound that has a structure (all minor thirds), but at the same time is kind of floating without a key center. Then, at the very end, we establish the bluesy b5, 4, b3, 1 to resolve in a familiar way.
The hammer-on and pull-off markings are included as suggestions only. If these techniques aren't your style, feel free to pick every note. Have fun! --DP