I am wishing to create a gamepass where if you say /e animationName it will play an animation if you owned the gamepass but I do not know how to start scripting this.
3 Likes
It will be best if you learn how to do this on your own, but here are a couple of good resources to get you pointed in the right direction.
Basically, you’ll want to have a script that gets triggered when a user chats something, checks that message to see if it mentions “/e”, if so, checks to see if the user owns the correct gamepass, if so, plays the animation on their character.
Checking to see if a user chats a specific phrase
I could be wrong, but I believe that with this event, the ‘part’ parameter actually refers to the player’s character.
Checking to see if a user owns the gamepass
Playing the animation
3 Likes
Thank you for all the great resources. This will help me out greatly. Much appreciated!!
1 Like