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)