Still have questions? Join our Discord server and get real time help.
Log in to vote

My "DialogChoiceSelected" won't work?

Asked by 2 months ago

This question has been solved by the original poster.

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')

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.

Roblox is having issues with dialogs, animations, audio and images. Try testing it in the actual roblox player! retrobricks 162 — 2mo
Oh, ok thx sheepposu 22 — 2mo
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 sheepposu 22 — 2mo
Is it the dialog choice that you want or the dialog Boi52893642864912 25 — 2mo

Answer this question