Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Dialog Help please??[SOLVED]

Asked by 10 years ago

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?

1 answer

Log in to vote
1
Answered by
Tesouro 407 Moderation Voter
10 years ago

Dialogs don't work with MouseClick, you should use DialogChoiceSelected. Have a look at Dialog tutorial.

Ad

Answer this question