Hey programmers!
I’ve an issue with my animation script.
Here is the problem: There’s a tool called Katana in starterpack and made an animation script.
script.Parent.Equipped:connect(function()
character.Animate.idle.Animation1.AnimationId = "rbxassetid://6018797045"
character.Animate.idle.Animation2.AnimationId = "rbxassetid://6018797045"
character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://6027994599"
character.Animate.run.RunAnim.AnimationId = "rbxassetid://6027994599"
end)
script.Parent.Unequipped:connect(function()
character.Animate.idle.Animation1.AnimationId = "rbxassetid://6018763063"
character.Animate.idle.Animation2.AnimationId = "rbxassetid://6018763063"
character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://6018764917"
character.Animate.run.RunAnim.AnimationId = "rbxassetid://6018764917"
end)
The animations work, however when the animation is playing, the arm where the tool is, is still in the middle, means the animation is not playing for the left arm!
I would highly appreciate, if you guys help me!