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

My dialog shop will not show my shop GUI why?

Asked by 5 years ago
Edited 5 years ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.

Please help me.

script.Parent.DialogChoiceSelected:connect(function(player,dialog)
    local gui = script.Parent.Shop -- Change Shop To The Name Of The Gui.
    if dialog.Name=="DialogChoice" then -- Change The Choice1 To The Name Of The Dialog Choice.
        gui:Clone().Parent = player.PlayerGui
    end
end)

I made a dialog shop that you press a question mark above a bots head and it opens up with questions, you press yes and it opens a GUI. My problem is the GUI will not open when I press Yes

Answer this question