I tried to make SurfaceGui button that Prompts my product but it doesnt do anything, tried to print player but its not printing so i guess function wont start on click :
Script:
local mark = game:GetService("MarketplaceService")
function ad(yeah)
print(yeah)
mark:PromptProductPurchase(yeah, 10371541)
end
script.Parent.MouseButton1Down:Connect(ad)
Also tried to move it to Script and LocalScript, and still didnt worked.
Explorer Screenshot: here
