my script is a script that goes in a textbutton and when you click on that button it pops up a gui.
heres my script:
local shopgui = Workspace.ShopGui
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
shopgui:Clone().Parent = player.PlayerGui
end)
Its not showing everything. I need help

1 comment
Is this a LocalScript? it should be a LocalScript