How to make a Running/Shoot Animation 2DSidscroller Pleace Help !!

Hi i have made a 2DSideSroller Game for learning i have inGame 2 Buttons one for Jump and one for Shoot. If the Character is Standing the Shooting Animation Works But i want if he is running and than i pressed the Shoot Button that he should make the Shooting/Running Animation. Can somebody help me with this what i have made wrong thanks.