Switching Weapons with preset abilities

Hello everyone, I am trying to find the best way to make a weapon system of 20+ weapons where each weapon has a different set of moves. I’ve been searching everywhere and its surprisingly hard to find a straight answer of the best method. I am really tempted to just put all of the moves on my main characters blueprint and switch index based on weapon equipped, but I am extremely new to programming/Unreal I don’t want to run into optimization/clutter down the road. I have experimented with making BPC components that house each of my weapons attacks, but then when switching off that weapon I dont know how to remove that BPC component from my character as I can only find the add custom component node. Please help I want to do this the right way.