If the weapon is a component in the blueprint tab…meaning its a base component of the character, use Attach Component to Component.
Otherwise its an ACTOR class (blueprint, C++) that’s not a part of the character class, use Attach Actor to Component.