Top tip: use those open strings! ⏩
This is a typical slap line in E – you could play it over any funk vamp on a dominant chord (E7, E9, E11, E13). It mostly uses the blues scale, but with a few tones that suggest other scales – you can find some Mixolydian & Dorian modes in there too.
The fill is the trickiest part by far, but as with anything this fast, slow it down! After a while you should see some patterns.
PDF + backing track available for Pentatonic Patrons and above on Patreon.