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?
COMMUNITY QUESTION
How would i make a GUI pop up when i choose yes in a dialog choice?[UNANSWERED]
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
lol why even bro but nice answer