Motor6d not translating position when playing animation

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?

I want to fix my motor6d animation

  1. What is the issue? Include screenshots / videos if possible!

The motor6d isnt translating the position for some reason and only rotation

  1. What solutions have you tried so far? Did you look for solutions on the Creator Hub?

I tried to delay the animation and set up the motor6d first but it didn’t work

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

function fxmodule.NPCMotor(npc)
	local motor = npc:FindFirstChild("Right Arm"):FindFirstChild("ToolAttach") :: Motor6D

	if npc:FindFirstChild("BodyAttach", true) then
		motor.Part1 = npc:FindFirstChild("BodyAttach", true)
	end
	
	if rs.animations:FindFirstChild(npc.Name):FindFirstChild("Core") then
		task.spawn(function()
			local core = npc:FindFirstChild("Humanoid"):FindFirstChild("Animator"):LoadAnimation(rs.animations:FindFirstChild(npc.Name):FindFirstChild("Core"))
			core:Play()
			
			core.Looped = true
		end)
	end
end

Before i would make motor6d weapons and it would always work, also i am using a 0.5 scale rig if that helps

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.