Your weapon is a skeletal mesh right? If so, in your weapon blueprint select the skeletal mesh component, then in the details panel under “Animation” make sure it’s set to use an animation blueprint, then select the blueprint you’ve created for it.
As long as your skeletal mesh is referencing the anim blueprint, you can then go into the anim blueprints event graph under the “Event Blueprint Update Animation” and right click in an empty space and use the “Get Owning Actor” function. Plug that into a “Cast To” (Whatever your class is). You can then pull off from the resulting cast and access all the variables you have stored in there.
Get the variables you want and set your anim blueprints variables to whatever value the weapon currently has.
Good luck!