Hello, not so long ago I came across a problem in animation.

Specifically, the reason is that the character cannot hold two different weapons in his hands. He has one animation for both the pistol and the Kalashnikov assault rifle. What should be done?