Here's a guitar lick in the style of Kirk Hammett that makes use of two trademarks Metallica's lead guitarist uses a lot. One is the wah pedal and the other is open string pull offs. I started with the C# Minor Pentatonic scale in mind but in the pull off section I just listened and played what sounded right to my ears.