Animations being rotated when changing rig?

Hi, so I am making guns, but when I change the rigs, like when switching from primary to secondary weapon, for some reason the secondary is rotated 90 degrees up. I’m unsure what’s happening, but here is a place file for you to replicate the issue. Just upload the animations from the two rigs to your account and then add the IDs to server script. I don’t see what is causing these to rotate 90 degrees, it happens for all other rigs too.

decemus_animation_issue.rbxl (519.6 KB)