Pls help I'm new to scripting. This is the script i put in the Dialog and it doesnt work
local dialog = script.Parent
local activateScript = game.Workspace.["MyDisabledScript"] --Name of your script
dialog.DialogChoiceSelected:connect(function(player, choice) --This is for getting the service when the choice is selected
if choice == script.Parent.DialogChoice.ChoiceA then --Choice A is what you named the option in studio
--Do what you want to do
activateScript.Disabled = false --Activated Script
elseif choice = script.Parent.DialogChoice.ChoiceB then
--Do what you want
end
--Repeat for all choices
end)

1 comment
dialog choices must be local; also, use a remote event/function