Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Quest Accepted script won't work?

Asked by 9 years ago
workspace.Dad.Head.Dialog.DialogChoiceSelected:connect(function(choice, player)
    if choice.Name == "AcceptQuest" then
        player.PlayerGui.Quests.FamilyJewel.Visible = true
    end
end)

background info: theres a Gui in StarterGui named Quests and inside that is a text box named FamilyJewel inside workspace theres a character named Dad and inside his Head part there's a Dialog simply named Dialog. Inside that Dialog there's a Dialog Choice named AcceptQuest and I'm trying to make this code make a text box appear saying "Quest Accepted: Family Jewel" and I can't figure out why this won't work. (the Script btw is in the AcceptQuest dialog choice)

Answer this question