Gamepass doesn’t show

I’m not sure if this category is the right one, let me know if not. Anyways:

  1. What do you want to achieve? I want to make a brick, that when is clicked by a player shows them a gamepass

  2. What is the issue? when players click it, it says that the item is not for sale :frowning:

  1. What solutions have you tried so far? I tried to use many different scripts to fix it but none of them worked (yes, I put the right ID)

I hope somebody can help, thanks in advance

Is the gamepass actually for sale, if it is, could you show me the settings of it?

1 Like

Here you are


Could you show me the script by any chance?

local CLICK_BLOCK = script.Parent

local ITEM_ID = 105377704

local Click = Instance.new("ClickDetector",CLICK_BLOCK)

Click.MouseClick:connect(function(p)

game:GetService("MarketplaceService"):PromptPurchase(p,ITEM_ID)

end)

havent tried it out yet but instead of promptpurchase i think trying promptgamepasspurchase will work

local CLICK_BLOCK = script.Parent

local ITEM_ID = 105377704

local Click = Instance.new("ClickDetector",CLICK_BLOCK)

Click.MouseClick:connect(function(p)

game:GetService("MarketplaceService"):PromptGamePassPurchase(p,ITEM_ID)

end)
1 Like

You cant buy your own gamepass.

You can’t, but you can test purchases in studio

even so roblox wouldnt show that error message if you owned it. it would say this item is already owned no?

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