quest = false local Dialog = script.Parent Dialog.DialogChoiceSelected:connect(function(player,choice)
if choice.Name == "Yes" then
quest = true
end
end)
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
thank you!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I don't understand what you're trying to do here as I don't believe your script is formatted correctly. Please use the code block option for easy reading.