Flashlight animation script I Need Help

im kinda new to unity and i know so little about Java Script.

im try to make my guy look like hes runing with a flashlight. i had a script to play a idle animation when im not moving . so when i press shift it plays the Run animation but when i stop the light is still facing the ground and it does’nt go back to the idle rotation. and i want the light rotation back at y-0 z-0 x- 0 but i dont dont know what to do or how to fix it. so if any one does know what im talking about and knows how to fix it please tell me how ill wil be very thankful.:slight_smile:

Nvm i fix it i just added a 3rd animation the moved the light up. im so dumb sometimes :stuck_out_tongue:

can u please send me the script please dude :slight_smile: