Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 9 years ago

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

Log in to vote
1
Answered by 7 years ago

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)
0
lol why even bro but nice answer Goulstem 8144 — 6y
Ad

Answer this question