This is the code I have tried. It is a local script placed under the original dialog.

script.Parent.DialogChoiceSelected:connect(function(Player, Choice)

if Choice.Name == "Dialog2" then
	local backpack = Player:WaitForChild("Backpack")
	local cloneTool = game.ServerStorage.Margarita:Clone()
	cloneTool.Parent = backpack
end

end)