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

How would i make a GUI pop up when i choose yes in a dialog choice?[UNANSWERED]

I made a Dialog person and its a shop. When the player clicks yes then I want a gui to pop up in the player's gui. Can you help me?

1 answer

Hello! Hopefully I am not two years late but you will want to use DialogChoiceSelected.

workspace.Dialog.DialogChoiceSelected:connect(function(player,choice)
	if choice.Name == "Yes" then
		--Add here the GUI script
	elseif choice.Name == "No" then
		--Add here what you want to occur when the player says "No".
	end
end)

1 comment

0

lol why even bro but nice answer

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