Im new to animations, and I’ve been trying to create an animation consisting of a sword. However, when I play the animation, the tool itself wont do what it was animated to do, and instead just follow the arm.
To test this out, I created a animation consisting of only one keyframe which was to move the sword away from the player.
However, when I play the animation nothing happens, and the sword stays in place.
I know there isnt a problem with the script that plays the animation itsself, because when I do add an animation with keyframes for the player it moves just fine.
UIS.InputBegan:Connect(function(input,gpe)
if gpe then return end
if input.UserInputType == Enum.UserInputType.MouseButton1 then
local Animator = c.Humanoid.Animator
local Anim = Animator:LoadAnimation(Animation)
Anim.Priority = Enum.AnimationPriority.Action
Anim:Play()
end
end)
Basically I used the “clean” feature on the sword, then I weld it using easy weld. Then, when I’m done I export it and create the animation and use that.