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

Why is the product not showing the purchase?

Asked by 4 years ago
Edited 4 years ago

I don't know what is wrong with this line of code. I have a screengui, then a frame, then a textbutton, then a local script.

local id = not going to tell

script.Parent.MouseButton1Click:Connect(function()
    game:GetService("MarketplaceService"):ProptProductPurchase(game.Players.LocalPlayer,id)
end)

0
Before I answer, I'd like to confirm that the issue is not caused by the typo on line 4? IStarConquestI 414 — 4y
0
oh ivan6361 34 — 4y
0
also why would u say the id is "not going to tell" ..... you do realize that even if you put it other developers can use it in their games and you would get 50% of the robux CheckeredDevAlt 25 — 4y
0
don't want to, and that is dirty ivan6361 34 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago

There is a typo on line 4. It should be "prompt" not "propt".

Ad

Answer this question