So basically i saw that the gamepass service has changed.
I made a new gamepass and i made a vip door that when the player has the gamepass he will be able to go through the door and not see the door(like the door will not be visible to him) but it will be visible to the others who has not the gamepass.
But, i used MarketplaceService:PlayerOwnsAsset and does not work also does not shows any errors.
Any suggestions?
2 Likes
Don’t use GamepassService, also I recommend using MarketplaceService:UserOwnsGamePassAsync()
Here is an example:
local MPS = game:GetService("MarketplaceService")
local GamepassId = -- // gamepass id here
if MPS:UserOwnsGamePassAsync(Plr.UserId, GamepassId) then
-- // rest of code here.
end
3 Likes
Thank you!
1 Like
If my post was the answer to your problems press the tick box near the reply button so people know that it has been solved.
ye i did. I was using the PlayerOwnsAsset and the PlayerHasPass and now its outdated so yeah