Load.BuyPack.MouseButton1Click:connect(function()
game:GetService("MarketplaceService"):PromptPurchase(player,161883818)
end)
This is supposed to make it so a player clicks the button called BuyPack in the frame Load, and prompts a purchase to buy a model. But it's not working. Please help. PS: THIS IS IN A SURFACE GUI, NOT A REGULAR GUI.

2 comments
Are your variables defined?
I dont know