Hi, I've put the script in my sword and I put the animation in the script. I don't know why it didn't worked:

script.Parent.Activated:Connect(function()
	local anim = script.Parent.Parent.Humanoid.Animator:LoadAnimation(script.Swing)
	anim:Play()
	wait(3)
	anim:Stop()
end)

Help please!

6 comments

0

Try loading the animation directly to the Humanoid.

0

is there any error?

0

Is the animation priority low?

0

There is no error...

0

What is the type of the object "script.Swing"? is an animation or a key sequence?

0

It's the animation