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

My "DialogChoiceSelected" won't work?

Asked by 14 days 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')
    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.

0
Roblox is having issues with dialogs, animations, audio and images. Try testing it in the actual roblox player! retrobricks 158 — 14d
0
Oh, ok thx sheepposu 42 — 14d
0
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 42 — 13d
0
Is it the dialog choice that you want or the dialog Boi52893642864912 30 — 13d

Answer this question