Hello! I’m having an issue where this script is not prompting a purchase, no idea why. It should output a few things, just for testing purposes, but it doesn’t work.
Script:
m = game:GetService("MarketplaceService")
p = game.Players["7z99"]
script.Parent.MouseButton1Click:Connect(function()
m:PromptProductPurchase(p, 991617361)
end)
m.PromptPurchaseFinished:Connect(function(o1, o2, o3)
print("purchasecomplete")
print(p.Name)
print(o1)
print(o2)
print(o3)
end)