The right away to create a weapon switch system?

Hi guys,

I currently have a weapon swap system thats dependent on input actions (mouse wheel up = rifle, mouse wheel down = pistol) and have animations set for when I have either weapon equipped. I tried looking up how to do this a different way but couldn’t really find one that I truly understood and ended up with this one on my own.

It seems (so far) to work fine, I can swap between them, destroy last actor, make sure only 1 is available, shoot, etc. My only concern is I don’t know if further down the line this would have issues or if there is a much easier way?