How do I make a key binded animation for a tool

Iā€™m trying to make a animation that plays when you click right mouse button and the animation turns off when you stop holding right mouse button (one that only works with a tool). Thanks! :smiley:
any suggestions or scripting support would be great!

You can do

Mouse.Button2Down:Connect(function()
Animation:Stop()
end)
1 Like