I want me too know if I can script a dialog so when the player chooses a sertain reply something happens.
Put this under the DialogChoice:
script.Parent.DialogChoiceSelected:connect(function() --script here end)
why do it not work. workspace -> npc -> head -> dialog -> script
local Box = game.ReplicatedStorage.Stuff.Box script.Parent.DialogChoiceSelected:Connect(function(player, Choise) if Choise == script.Parent.DeliverBoxes then local Part = Box:Clone() Part.Parent = player.Backpack end end)
To create a NPC that a player can talk to is very simple:
You probably get the point. You can also insert Dialog Choice to Dialog Choice to make that chat much longer!