I know how to make something happen when you press a key, but how would you make it so that it only happens while your holding that key down?
For example, while your'e holding down e, your character is playing an animation, from a script in a tool, but when you let go of e, your character stop playing the animation.

2 comments
Try using the context action service
Can you expand a little? Maybe add a link to the roblox wiki about that?