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)
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.