Ok so I have a screen GUI and a text button in it and this is the script I put in the text button:
local adminId = 217525614
script.Parent.MouseButton1Down:connect(function(player)
Game:GetService("MarketplaceService"):PromptPurchase(player, adminId)
end)

1 comment
Too broad.