Welcome to 101 Guitar Licks. You'll notice that the key signature for this lick is labeled as C major, but there is no chord indicated. When dealing with chromatic lines, there are usually a variety of chords that will work. For example, this lick might work over a C7 chord, like you would find in a blues, or it might work over a Cmin7 chord. Try them all and see what sounds best to you.
I've found that picking each note and not using hammer-ons and pull-offs on this makes the most sense. See how it works for you. Happy practicing!
Listen to audio of this lick: 80bpm 120bpm 208bpm