Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to have a Custom animation in a custom Sword?

How do you add when you click to attack with the sword the animation plays?

3 comments

1

Use the Humanoid's LoadAnimation function.

0

OOPSIE!

0

Scriptinghelpers is not a request site. Click Moderation and report this!

1 answer

✓ Accepted answer
local animation = 
local tool = 
local humanoid =

local anim = humanoid:LoadAnimation(animation)

tool.Activated:Connect(function()
	anim:Play()
end)

I don't know the setup you have so you'd have to add in the animation, humanoid, and tool variable

This discussion is preserved as it was. New answers, comments, and votes are closed.