Another odd issue involving animations, but this time it's a weird offset glitch(?) happening on the gun animations I made, it basically makes the gun stay in weird positions during the animation instead of being in the right spot.
This is what the animation is supposed to be like: https://prnt.sc/uoilyj
This is how the animations is in-game: https://prnt.sc/uoin3y
This is the animation timeline: https://prnt.sc/uoinr9
And this is the script that sets the Motor6D:
local function equipGun(player, weapon)
local char = player.Character
local newWeapon = weapon:Clone()
local motor6D = Instance.new("Motor6D")
motor6D.Part0 = char.RightHand
motor6D.Part1 = newWeapon.Handle
motor6D.Parent = newWeapon
newWeapon.Parent = char
end
P.S: The gun is a model, and the handle is an invisible part connected to the gun's body that is connected to the rest of the gun parts. The animations are mine and they are played on a LocalScript in StarterCharacterScripts
If needed, I'll edit this to answer questions and provide more details.

2 comments
Try adding reseted keyframes in the keyframes you dont want to move intead of leaving it blank. MAYBE could be a solution avoiding a blank keyframe of other animation overlaping.
I'm sorry for the inconvenience but I actually dont know what that is or how to do it