Can someone tell me why this dialog buy script isn't working? it doesn't output any errors at all and if it's an FE problem can someone tell me how to fix it?
Discord: Unknown Intelligence#6569
script.Parent.DialogChoiceSelected:connect(function(player,dialog)
local gui = script.Parent.ShopGUI
if dialog.Name=="Buy" then
gui:Clone().Parent = player.PlayerGui
end
end)

2 comments
Try setting "Enabled" to true on the ScreenGui or make all the GuiObjects visible
They're all 100% visible I made sure of that, if it's placed in StarterGui it's all visible, it's just not being replicated