I have a Dialog
with 2 DialogChoice
's in a Head. What event should I use to prompt a marketplace service? I already tried this but didn't work:
ID = 18291492 script.Parent.MouseClick:connect(function(hit) game:GetService("MarketplaceService"):PromptPurchase(hit,ID) end) --Didn't work.. Why?
Dialogs don't work with MouseClick, you should use DialogChoiceSelected. Have a look at Dialog tutorial.