Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My "DialogChoiceSelected" won't work?

Asked by
sheepposu 561 Moderation Voter
5 years 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 162 — 5y
0
Oh, ok thx sheepposu 561 — 5y
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 561 — 5y
0
Is it the dialog choice that you want or the dialog Boi52893642864912 69 — 5y

Answer this question