I made a script using dialogchoiceselected and put it in server script storage, the part with the dialogue is in the workspace. But when I go to test it, whenever I pick a dialogue choice the function never fires. Here is the script
wait(1) game.Workspace.Dpart.Dialog.DialogChoiceSelected:connect(function() print("Good") end)
You gotta specify which dialogue you are talking about I think.
Here is what I would try:
wait(1) game.Workspace.Dpart.Dialog.DialogChoiceSelected:connect(function(plr, choice) if choice.Name == "DialogChoice" then --put the name of the dialog choice print("Good") end end)
Check out this wiki article about dialogs:
http://wiki.roblox.com/index.php?title=Usage_of_dialogs
Accept this answer if it helped in some way