How to make dialog choices do things with a script

how to make dialog choices make a part unanchor

no idea how to do this

look up dialogchoiceselected and others (i dont want a new menu)

local Part = workspace.Part;

PATH_TO_DIALOG.DialogChoiceSelected:Connect(function(Player, Choice)
    if (Choice == PATH_TO_DIALOG_CHOICE) then
        Part.Anchored = false
    end
end);

This?

i tried dialog choice selected but it didnt even print the “hello” >:C
ill try again maybe i misplelled somthing :slight_smile:

yeah no hello : (

local dialog = script.Parent

dialog.DialogChoiceSelected:Connect(function(Player, Choice)
	print("hello")
	if (Choice == dialog) then
		workspace.mugman.NoobHead2.Anchored = false
		print("hello")
	end
end)
--- this is in a local script

does it usualy work when you do it?

dialog is very broken u should instead try making a dialog gui ( trust me ive been through this )

1 Like

i was fearing that : (
thanks anyways : )

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.