Motor6D Not working how its suppose to in the actual game. Please Help

So my friend made some animations for my sword and I noticed with the last two animations it didn’t look like how its suppose to look. Is it the motor6D? I know it cant be the animations because they look fine. What is it?

function setup(Character)
	
	
	local handle = ReplicatedStorage.CombatFolder.Sword.Fx.Handle:Clone()
	handle.Parent = Character
	local Motor6d = Instance.new("Motor6D", Character["Right Arm"])
	Motor6d.Part0 = Character["Right Arm"]
	Motor6d.Part1 = handle
	handle.CFrame = Character["Right Arm"].CFrame * CFrame.new()
	Motor6d.C1 = CFrame.new(0, 1, 0 ) -- Changes the position/Offset of the sword on the Arm
	
	
end ```
1 Like

something that i really don’t know is, but i fixed was:

when you edit some animation on some ‘‘model’’, if you somehow leave the Studio, save and quit

after rejoining, if the model is on some sort of ‘different pose’ ( default should be normal, without moon animator opened, and idle)

FOR some reason that i really don’t know, ( i’m just telling some stuff that happened)

The animation will be messed up, your best shot is copying keyframes, getting another model, and placing all keyframes inside

if that doens’t work, i have my doubts about some scripting errors ( sometimes a single detail or cframe will ruin everything)

so, never edit any model that has messed up ‘‘Poses’’, this , i’m quite sure, it will cause weird behaviors, correct me if i’m wrong but this happened to me alot, and only changing models, it was solved

Im gonna try putting the animation in a new model, but if its not the model are you sure its my script or the actual motor6d property not working right. Hopefully its the script because i really wanna add the animation.

Do you think it might be the C1 that I changed in the motor6D thats causing this?