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
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.
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.