I am trying to make it so when the user clicks the 50 robux donation button it pops up with prompt so they can buy it.

I have tried reading sources but nothing is working.
Can someone please help me! (
I am trying to make it so when the user clicks the 50 robux donation button it pops up with prompt so they can buy it.
I have tried reading sources but nothing is working.
Can someone please help me! (
MouseButton1Down()
does not return a player argument. Please try:
script.Parent.Activated:Connect(function() game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer,1200534911)