local this = script.Parent
local amount = this.Amount
local plr = game.Players.LocalPlayer
local marketserv = game:GetService("MarketplaceService")
this.Activated:connect(function()
print(plr.Name)
game:GetService("MarketplaceService"):PromptPurchase(plr, 269009354)
end)
✓ ANSWER ACCEPTED
devloper product saying that it is not for sale. Is it something with my script?
1 answer
✓ Accepted answer
local this = script.Parent
local amount = this.Amount
local plr = game.Players.LocalPlayer
local marketserv = game:GetService("MarketplaceService")
this.Activated:connect(function()
print(plr.Name)
game:GetService("MarketplaceService"):PromptProductPurchase(plr, 269009354)
end)
I'm upgrading to Windows 10 right now, when it's done I will see if it works. It should work anyway. PromptPurchase is for anything thats not a Dev Product or Gamepass.
2 comments
1
I tested it for you, this solution works
0
thanks
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Do you own the developer product
I have an answer to your problem. Check out my answer below.