It’s all about that feel.
Here is a medium funk groove in A, based around 3 chords – A7, G7 and D9. This gives it a Mixolydian feel overall. The main line itself is quite simple, but the key to getting the sound right is in the ghost notes. The fill is a little more complex, combining hammer-ons and some movement across the strings, but if you take care to learn it slowly, it shouldn’t be too problematic.
PDF + backing track available for Pentatonic Patrons and above on Patreon.