how can i detect if a player is shifting while holding a custom item

i need to detect if a player is shifting and summon lightning wherever he looks

Continue to help post