I’ve tried but it just gives me an error?
https://gyazo.com/4b2ef83c27dac51c2afd5589f3e8508b
local button = item1 local player = game.Players.LocalPlayer local gamePassId = 1504961992 button.MouseButton1Click:connect(function() if player then game:GetService("MarketplaceService"):PromptGamePassPurchase(player, gamePassId) end end)
You’re using PromptGamePassPurchase but you said it’s a Dev Product so you need to use PromptProductPurchase
PromptGamePassPurchase
PromptProductPurchase
Yea I fixed it, someone told me in another thread. Can you visit my other post about dealing the receipt and handling?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.