local productId = 5126053 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() game:GetService("MarketplaceService"):PromptPurchase(player, productId) end)
For some reason it shows as "item not for sale" and shows a random picture... Any help?
PromptProductPurchase, not PromptPurchase. ALSO, please use :Connect() instead of :connect() as :connect() is depreacted.