I’m making a combo animation, on the 3rd attack, I use a motor6d. after this attack if i unequip my weapon the idle animation is still playing forever, untill I re-equip the sword.
This is the code that handles the motor6d:
if currentcomboclicks == 3 then
sword.Handle.Name = "BodyAttach"
local m6d = Instance.new("Motor6D",sword)
m6d.Part0 = char:FindFirstChild("Right Arm")
m6d.Part1 = sword:WaitForChild("BodyAttach")
end