Help With connecting animations to a Proximity Prompt

I’m making a shakable tree that starts an animation of the leaves shaking as you activate the proximity prompt, and has a chance of items falling out of the tree when you activate it.
I can’t get my head around activating the leaves animation when the user presses the proximity prompt.
I’ve tried a couple of tutorials on YouTube but they aren’t exactly for the solution I’m needing so they didn’t really work.
I already have the tree rigged and the animation created, I just need a way for it to be activated as a player presses the proximity prompt button.

Thanks!

I’m not a scripter but I know proximit prompts are the same scripts as a click detector. So if you know how to make it work with a click detector, you can just change some things that checks if proximity prompt is triggered and it should work.

I don’t know how to make a part play an animation on a click, I know how to make a player play an animation on a click but I do not know how to translate that to part.