I know I have created a topic of it, but since no one is responding to it I made a new one. After someone helped me with my problem, I went a little bit further. I see an error called “Dialog is not a valid member of model.” I was clicking at the error to bring me there we the script was not running, but it didn’t let me. Could anyone help me?
Code:
local sound = workspace.Sound
local sound2 = workspace.Sound2
workspace.Model.Dialog.DialogChoiceSelected:connect(function(player, choice)
print(choice.Name)
if choice.Name == ‘DialogChoice1’ then
sound:Play(4850625559)
elseif choice.Name == ‘DialogChoice2’ then
sound2:Play(4850625559)
end
end)