So basically I’m trying to use the PromptPremiumPurchase() to offer a player Premium when they click on a Part. However, it doesn’t seem to work. I’ve added a print statement after the MouseButton1Click, but it isn’t printing, which shows me that the mouse click event is not firing. The Part has a Decal and a ClickDetector, and the following code is located in a LocalScript:
local MarketplaceService = game:GetService("MarketplaceService")
script.Parent.MouseButton1Click:Connect(function(plr)
MarketplaceService:PromptPremiumPurchase(plr)
end)