I'm trying to make a button that opens a GUI when it's clicked
GUI = script.Parent.ShopGUI:Clone()
function Click(hit)
all = GUI:Clone()
all.Parent = game.Players[Click]:FindFirstChild("PlayerGui")
end
script.Parent.ClickDetector.MouseClick:connect(Click)
Any help is appreciated! Thanks! SOLVED

1 comment
Thanks! I figured it out the second you answered haha, but for the answer I accept and "One up" =D