I have this script in a Text button to prompt a dev product purchase but it wont work. HELP PLEASE!
local Player = game:GetService('Players').LocalPlayer
local MarketplaceService = game:GetService('MarketplaceService')
script.Parent.MouseButton1Click:Connect(function()
MarketplaceService:PromptProductPurchase(Player,2284063634)
end)
Something is wrong with your developer product. Try making another developer product and use it in the place of your old one.
local ID = New ID -- New Product ID Goes Here
local Player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(Player, ID)
end)