How to detect when dialog "?" is pressed?

Title says it all. How can I detect this?

Not sure, but Dialog.DialogChoiceSelected sounds like a reasonable event to check for?

In this sample, set Dialog, a variable, to the dialog in question.

Dialog.DialogChoiceSelected:Connect(function(player, choice)
	print(player.Name,choice.Name)
end)

I thought of that, but that doesn’t fire when they simply click the “?” button, not an option.

Alternatively, check for whether this property changes. However, the only problem with this is that if multiple users are using it at once. So you should try to find a solution around it with the help of a function.

Well it’s probably a single player game anyway, so that’s fine.

2 Likes