Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Dialog Help please??[SOLVED]

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

✓ Accepted answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.