Weapons

I want me main character to be able to walk over boxes and pick up weapons, these weapons will be put in an inventory.

You can switch between weapons by pressing a button, but each weapon has a “Hp”, so you can only use it a certain ammount of times… But something that has me quite confused, is that each weapon will have different attacks and animations, so how would I make the character MC? Woul I put “Frame 6 is of him attacking with a sword, and frame 7 is him attacking with a gun”? How would I go about doing this?

ps: I know that sounds confusing, but please try to understand…