Hi,
I’m having issues with UserOwnsGamePassAsync always returning false even though I have the gamepass. I tested this both in studio and in-game. What is the issue??
local ownsGamepass = MarketplaceService:UserOwnsGamePassAsync(Players.LocalPlayer.UserId, ToxicEmotes)
-- emote bindable hook
script:WaitForChild("PlayEmote").OnInvoke = function(emote)
if not ownsGamepass then
TextChatService.TextChannels.RBXGeneral:DisplaySystemMessage("<font color='rgb(255,123,115)'>You need the 'Toxic Emotes' gamepass to use this!</font>")
return
end
-- Only play emotes when idling
if pose ~= "Standing" then
return
end
if emoteNames[emote] ~= nil then
-- Default emotes
playAnimation(emote, EMOTE_TRANSITION_TIME, Humanoid)
return true, currentAnimTrack
end
-- Return false to indicate that the emote could not be played
return false
end
I rechecked everything already, the gamepass id, the userid all match up.