We'll use the chicken picking technique with our right hand, so I'm using the pick, the middle and ring finger throughout.
The lick is in the key of A and its built using both major and minor pentatonic scales.
Use the bridge pickup to get that classic country twang tone. Also use compression pedal/plug-in with lot of compression cause we want a highly "squished" sound. Add a some reverb and a slap-back delay (100ms to 300ms with a single repeat).