quest = false local Dialog = script.Parent Dialog.DialogChoiceSelected:connect(function(player,choice)
if choice.Name == "Yes" then quest = true end
end)
If you're trying to get the variable from another script you can't just call it as script.Quest, I think you need a modular script and to get into all of that... gl