Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why doesn't this prompt a purchase? It says "Something went wrong"

Asked by 6 years ago

local productID = 1318372637 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() game:GetService("MarketplaceService"):PromptGamePassPurchase(player, productID) end)

0
When you post make sure to make a script, it's much easier to read Beau192 0 — 6y
0
Your problem is that this's a LocalScript; You can only prompt the player via the server. :/ TheeDeathCaster 2368 — 6y

Answer this question