local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local productID = 1187429520 -- Change this to your developer product ID
-- Function to prompt purchase of the developer product
local function promptPurchase()
local player = Players.LocalPlayer
MarketplaceService:PromptProductPurchase(player, productID)
end
script.Parent.MouseButton1Click:Connect(promptPurchase)
COMMUNITY QUESTION
How do I check if the player bough the developer product?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
