I'm trying to create a NPC with a dialog that disappears for a while if you select an dialog choice. Could I have to help on how to make a dialog be disabled for a temporary time (If Possible)?
COMMUNITY QUESTION
Disable Dialog on Selection?
1 answer
function talk(player,dialog)
if dialog.Name == "Disable" then
Dialoger = game.Workspace:FindFirstChild("") --Put the name of the Thing where the Dialog is in. Try FakeHead or something because If there are multiple heads or somthing, It wont work.
script.Parent.Parent = game.ServerStorage
wait(5)
script.Parent = Dialoger
end
end
script.Parent.DialogChoiceSelected:connect(talk)
This discussion is preserved as it was. New answers, comments, and votes are closed.
