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

1 comment

0

why clone the gui?