After researching and trying to figure this out I couldn't come up with a possible solution to create this. I am creating a horror game and I made an animation for a humanoid NPC that will peek around the corner of a doorframe when the player touches a certain part.
COMMUNITY QUESTION
How do I create an animation play for an NPC if the player touches a part?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Load and play the animation when player touches it with touched event. Dont forget debounce or the humanoid npc will stay there playing the animation over and over if the player is moving on the part
I tried but It's not working for me, idk what I'm doing wrong