make a roblox studio lua script that triggers an animation in an npc called…
- User
make a roblox studio lua script that triggers an animation in an npc called "PlaceholderActor" and the animation is called "PlaceholderAnimatoin", when the player steps on a part called "TriggerAnimPart", the npc is a parent to the script, the animation is a child to the script and the "TriggerAnimPart" is in the workspace
make sure the animation does not loop, and make sure the animation finishes playing even if the player steps off the "TriggerAnimPart", also, make sure if another player steps on the "TriggerAnimPart" the animation does not restart, check if the animation is playing and only if the animation isn't currently playing, trigger the animation to play when the player steps on "TriggerAnimPart"
- Assistant