How to animate Tool Parts (Guns, Knifes etc.)

Never mind, I figured it out. It seems like you can only play the animation through a local script.

11 Likes

Thanks for this, I’ll definitely try this out, however I only know the simplest of scripting so I might have problems with that part of it.

10 Likes

You wanna know what would be REALLY nice? A video tutorial, following this step by step. My small brain hurts when I try to follow this as how it is. I think it’d help others (including myself).

My brain hurts. Send help. No, I did not manage to get what I wanted (to animate my tools with motor6Ds.)

47 Likes

Please if you don’t mind is there any possible way that you can provide a very basic example model/file of this?
You see I learn faster by looking at models.

12 Likes

Help, it doesn’t seem to work for me, I want to make a Idle animation for my gun. I followed every instruction you did, but it didn’t quite work for me so I made it so it waits for the motor 6d to be made. It seemed to work but now this happens :
s

and this is what it’s supposed to look like
s

It’s my first time animating a Gun. I also put the priority to Idle. I have no idea what’s happening. What I saw is: Normally when you spawn, your character has a idle animation it kinda breathes. But when I equip the gun , it stops the idle animation. I don’t know what may be the problem, someone please help. Thank you

15 Likes

You need to set your priority higher, ‘Idle’ is overridden by the tool’s default holding animation. It’s safe to put custom idle animations as ‘action’ priority, it will still be overridden by any ‘actions’ you play next.

31 Likes

Thank you, I solved it today already. I was very confused why this was happening.

8 Likes

I’ve been using that weld plugin ever since I originally saw this post. Super helpful man. Grateful to have had this in my time of stupidity.

12 Likes

Also make sure “RequirsHandle” is off, there should be no welds between Right Arm and the tool.

10 Likes

Thank you soo much, was looking for this for ages, well not ages, but I pretty much needed it soo bad, since I would always move the whole arm when I needed the gun to move!
But the thing is that I am more of an builder guy, and don’t know how to script well, so that might stand in my way…

Also, will this work with swords too? What I mean is, my sword is just two parts, BladePart (with the sword mesh in it) and an Handle. Will it work the same way as the gun does?

8 Likes

Yes it will, I’m also using this to animate a sword. Just be sure to rename ‘Handle’ to ‘BodyAttach’.

4 Likes

This is happening

4 Likes

There’s over 1 Motor6Ds is being attached to BodyAttach, check your Motor6Ds.

5 Likes

Woah, I will try and remember this in case if I want to animate with tool parts.

2 Likes

This happened. I probably did something wrong.

7 Likes

There’s probably something wrong with your code, please show me the code/output.

4 Likes

OK, I should be able to show you step by step on how I did it with screen shots. Or the places where I messed up.

6 Likes

I think that it’s HumanoidRootPart that you want instead of upper torso - HRP behaves like R6’s Torso part.

4 Likes

How can this be applied to R15 characters and Using Moonsuite as an animator?

4 Likes

I haven’t explore Moon Suite in detail so far - But I tried to follow the same steps with Moon Suite, I stopped at the animating part and it works fine, not sure does it work after it’s being exported.

4 Likes