I’d say in the function’s parenthesis, you can add a variable that will detect which one of the dialogs was chosen. ie. function(choice)
After that i’d write an ‘if’ statement which will print the “.” if such dialog was chosen.
local Dialog = script.Parent
Dialog.DialogChoiceSelected:Connect(function(Choice)
if Choice == --Name of dialog choice in string format-- then
print(".")
end
end)
the most likely issue here is that you are using a server script and not a local script; dialogue events only happen on the client and thus will only fire the event on a local script
roblox localscripts will not run in the workspace, if you want to keep it in the same place change the runcontext of a regular script to “Local” instead of “Legacy”