Alright so I’ve spent the past 12 minutes trying to make a developer product, but every time I test it in-game it’s showing someone’s pants / not letting the player buy the actual product at all because it’s off-sale.
Code -
local client = game.Players.LocalPlayer
local mps = game:GetService("MarketplaceService")
script.Parent.MouseButton1Click:connect(function()
mps:PromptPurchase(client, 1164758128)
end)
Hello Quippier, the problem in the output says you have to allow third party sales. So all you have to do is go to the game in studio > Game Settings > Security > Turn On AllowThirdPartySales