So far I have gotten a gui to open but I am not sure how to close it. This is the script I have so far.
script.Parent.MouseButton1Down:connect(function()
function leftClick()
(script.Parent.Parent:FindFirstChild("Frame").Visible = false
script.Parent.Visible = false
end)
What should I change with this script to make it so it closes my gui?
