I’m trying out purchasing a gamepass for the first time with my account but the process won’t go through because I own the gamepass. So I deleted/removed the gamepass from my inventory and tried it again. But then I get this message
--[[
16:11:42.743 AllowThirdPartySales has blocked the
purchase prompt for 0 created by 1223442124.
To sell this asset made by a different user, you
will need to enable AllowThirdPartySales. - Client - meetsPrerequisites:71
]]
I do own the gamepass…
Edit: well… I created the gamepass.
here’s my script.
GuiObject.Activated:Connect(function(input)
local click = input.UserInputType == Enum.UserInputType.MouseButton1
local touch = input.UserInputType == Enum.UserInputType.Touch
if click or touch then
local gamePassId = GuiObject.ProductId.Value
MarketplaceService:PromptGamePassPurchase(player, gamePassId)
end
end)
end