Need help implementing custom emotes when purchasing a gamepass

so, I need players who have a game pass to have access to special emotes, specifically not through a button but through chat commands like /e floss, triggering character animations with the emotes.

I’m not very skilled in scripting, so I’m asking for help. I tried finding guides or scripts on this topic but couldn’t find any, so I would be grateful if you could assist me.

I’ll also mention examples from other games like GPO and Project Slayers, where they have game passes with emotes.

1 Like

You can use the “MarketplaceService” and the “:UserOwnsGamePassAsync()” method to check if a player owns a certain gamepass. Example:

if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(YourPlayerVariableHere.UserId, YourGamepassIdHere) then

You will obviously need to change the “YourPlayerVariableHere” to your player variable. Same with YourGamepassIdHere.

I would recommend researching this as it will help you get an understanding with some problems you may encounter.

Anyways Goodluck and hope this helps!

1 Like

Those stuff are a combo of the ChatScripts and the Animate script. Use Find All on an empty Baseplate and see what does what. Hint: there have to be API calls to MarketplaceService so it can load the animation, so make sure to also search the service.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.