Animation plays when proximity prompt is held

I’m trying to make it so when you hold the prompt (e) the animation starts playing and is looped. The only problem is I have no idea how to script with proximity prompts.

I already tried so many different script, but none of them have seemed to work.

(this is just what i have so far)
Screenshot 2025-05-23 165356

Any help is appreciated. Thank you :pray:

I believe the event you’re looking for is PromptButtonHoldBegan

You can also stop the animation by using PromptButtonHoldEnded (stopped halfway) or Triggered (for when it successfully completes)

2 Likes