Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to make a tool movement animation?

Asked by
pwgth 11
3 years ago

so, I want a script that will make it so that when I equip a tool, the animations will change(depending on the tool) because I'm relatively new to scripting, I don't know how to do that. it would be very nice if those reading this could lend me a hand(or some code) thanks!

1 answer

Log in to vote
0
Answered by
NGC4637 602 Moderation Voter
3 years ago

in the tool, add an animation. Set the animation ID to whatever animation you want it to be, and give it a name like Unsheath

then add a local script, put it in the tool.

in the local script, make it so that when it gets equip, it will Load "Unsheath", using the Animator (inside the player's humanoid), then right away play the animation. The first time the animation plays, it will lag a bit, but then it will play the animation like normal afterwards.

because this is a helping website and not a script request site, no code here. If you wanna learn some coding, you can go to The Roblox API Reference Manual for some tips.

0
thank you but I was hoping for a way to make the walk animation change when equipping the tool pwgth 11 — 3y
0
awh, if you encounter any errors whilst making the animation, you can ask another question, with the script. NGC4637 602 — 3y
Ad

Answer this question