Pakistan cricket team spinner Noman Ali scripted history after taking a hat-trick during the second Test encounter against West Indies in Multan.