Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What replaces dialogchoiceselected?

dialogchoiceselected was removed from Roblox lua. What is a way to do just whatdialogchoiceselected what did? Here is the code it is in:

ttool = game.Lighting.Weak 
tool = ttool:Clone()

function oc(pl, dc)

	if (dc.Name == "Weak") then 
		tool:Clone().Parent = pl.Backpack
		
	end

end
script.Parent.Parent.DialogChoiceSelected:connect(oc) 

1 answer

If you glanced at the ROBLOX wiki, they nominated old layout pages for deletion since they are moving to a new API set-up (which I am not a fan of), the event itself is not being removed and you may find it here. Anyways, they are doing this to many wiki pages.

I am guessing they think the new layout is more organized, but I like my events and such to be linked to a different page if I need them. At least make one page and use JavaScript or Php to have the content of the functions and events side or fade in.

This discussion is preserved as it was. New answers, comments, and votes are closed.