I was trying to do was, when a player clicks on a choice, a dialog will appear on another brick. it won't pop up on the required brick help?
local part = game.Workspace.Bricks script.Parent.DialogChoiceSelected:connect(function(player, choice) if (choice == script.Parent["Choice1"] then local new = Instance.new('Dialog',part) new.InitialPrompt = 'Hello!' end if (choice == script.Parent["Choice2"] then local new = Instance.new('Dialog',part) new.InitialPrompt = 'Hola!' end if (choice == script.Parent["Choice3"] then local new = Instance.new('Dialog',part) new.InitialPrompt = 'Hi!' end end)
You don't NEED to use a script for this. I found this extra helpful ROBLOX wiki article for dialog. And, if you must use scripts for dialog, the article covers it as well. http://wiki.roblox.com/index.php?title=How_to_use_Dialog