Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why Do I Get The Error Message " quest is not a valid member of Script" on this script?


quest = false local Dialog = script.Parent Dialog.DialogChoiceSelected:connect(function(player,choice)

if choice.Name == "Yes" then
	quest = true
end

end)

1 comment

0

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.

1 answer

✓ Accepted answer

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

1 comment

0

thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.