My dialogchoiceselected script wont work. Any ways to fix it?

script.Parent.Dialog.DialogChoiceSelected:connect(function(player,dialog)
	if dialog.Name == "Choice1" then
		print("HIZ")
	end
end)

3 comments

0

I'm guessing you have this code in a server script? The DialogChoiceSelected event is client-side only

0

no it's not

0

DialogChoiceSelected does not work in FilteringEnabled. It has been forced 3 months ago, so it won't work at all. You'll need custom dialogs.