Tool equip animation

How would i make it so that it plays a custom idle animation when you equip a tool that resets when you unnequip the tool? Thanks