How can I make the IdleAnimation run with my tool equipped?
After the EquipAnimation is over, the arm holding the tool goes back to holding the tool the default way instead of running my Idle script, but the other arm is affected by the animation. Any way I can make the animation run on both arms even though the tool is equipped? (Yes, I have made the animation work for both arms)
02 | humanoid = tool.Parent:FindFirstChild( "Humanoid" ) |
04 | local anim = tool:FindFirstChild( "IdleAnim" ) |
05 | if anim and humanoid then |
06 | if loadedidleanim then |
09 | loadedidleanim = humanoid:LoadAnimation(anim) |
10 | if loadedidleanim then |
14 | local anim = tool:FindFirstChild( "EquipAnim" ) |
15 | if anim and humanoid then |
16 | local loadedanim = humanoid:LoadAnimation(anim) |
24 | function unequippistol() |
25 | if loadedidleanim then |
28 | local anim = tool:WaitForChild( "UnEquipAnim" ) |
29 | if humanoid and anim then |
30 | local loadedanim = humanoid:LoadAnimation(anim) |
Thank you for any help!