I have this script under the dialog under a NPC's head. It won't print anything when a choice is selected. Can someone tell me what I'm doing wrong.
local dia = script.Parent
local tog = game.ReplicatedStorage.Events.Shop
dia.DialogChoiceSelected:Connect(function(player, dialog)
print('Dialog option '..dialog..' was chosen')
tog:FireClient(dialog.Name)
end)
Also can someone please add an option to disable "StackEdit" . I know I'm being repetitive about saying this, but it's just because I want to make sure an administrator or someone responsible for this kinda stuff sees it.

4 comments
Roblox is having issues with dialogs, animations, audio and images. Try testing it in the actual roblox player!
Oh, ok thx
Actually it still doesn't work. i must be doing something wrong, but I'll also make sure to check it in the Roblox Player
Is it the dialog choice that you want or the dialog