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)
There is a typo on line 4. It should be "prompt" not "propt".