As you can see in the video, it works fine in the animation editor but breaks when I try to use it with the humanoid. The gun and limbs move around a bit but not how intended.
local AimAnim = Instance.new("Animation")
AimAnim.AnimationId = GunConfig.Animations.Aim
local RestAnim = Instance.new("Animation")
RestAnim.AnimationId = GunConfig.Animations.Rest
local ReloadAnim = Instance.new("Animation")
ReloadAnim.AnimationId = GunConfig.Animations.Reload
local BoltAnim = Instance.new("Animation")
BoltAnim.AnimationId = GunConfig.Animations.Bolt
BoltAnimTrack = Humanoid:LoadAnimation(BoltAnim),
ReloadAnimTrack = Humanoid:LoadAnimation(ReloadAnim),
RestAnimTrack = Humanoid:LoadAnimation(RestAnim),
AimAnimTrack = Humanoid:LoadAnimation(AimAnim),