Idle animation for tool plays on other tools aswell

So, every animation has their own unique of ID, its how roblox play the animation. If you play the animation with the same id, it will do the same animation, if you want to play a different animation you need their respective id

You can put the ids in the script or create an animationtrack

Sadly no i dont have one

Charsssss

yeah, I tried playing it with ā€œ0ā€ which was the original value of toolnone, but it still played on other tools.

When you mean 0, what do you exactly mean, did you changed the id inside the script? The one with rbxassetid?

I mean, I changed the id for the unequipped section, cos in the players animate, thereā€™s something called ā€œtoolnoneā€ and it has a default ID of 0, and as you can see in the revised script somewhere above, I set it to zero, so it wouldnā€™t play on other tools, but it did.

Use the standard Roblox Idle Animation ID for anything other than that one tool.

You may actually want to read the AnimationTrack documentation that @lamcellari posted to figure out how to use Animation.

2 Likes

Nevermind, Iā€™ve hired someone to make an idle animation script for me, Iā€™ll post the full thing when he gives it to me.

That seems a bit extreme.
The Roblox idle animation is free and is probably already set up as the default animation if you havenā€™t changed it.

Sir, I donā€™t mean to be rude, but can you read my post again?

Just to change the idle animation of the player, while using the tool you mean? Can you provide more context?

I did read it.

Your complaint was that your idle animation was playing with all your tools enabled, not just the one you wanted it for.

The solutions Iā€™ve suggested seem like a pretty easy fix:

Play your animation only when the special tool that requires it is equipped.
If a different tool is equipped then donā€™t play any animation, just keep the standard Roblox animations (idle included).
If the special tool is unequipped simply stop your animation. If the Roblox idle animation doesnā€™t automatically play after that then find the Roblox idle animation number and play it.