Hey @NatiBatatty!
There are a few methods you could possibly use, however, here is an non-Epic affiliated example that references data and sets all of those animations appropriately when it check what weapon you have:
Hopefully the above contains the solution you need!