Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local npc = game.Workspace.OldMan
- local head = npc:WaitForChild("Head")
- local quest_npc_dialog = npc.Head.Dialog
- function StartDialogue(player, choice)
- if (choice == quest_npc_dialog.DialogChoice1.DialogChoice2) then
- script.Parent.Visible=true
- end
- end
- quest_npc_dialog.DialogChoiceSelected:Connect(StartDialogue)
Advertisement
Add Comment
Please, Sign In to add comment