So I have an open and close script for one button, but it seems to not work what did I do wrong, and don't say why don't you put a close button on the Frame? Its because the frame does not have enough room.
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.PlayerGui.Catalog.Morphs.Visible == true then
game.Players.LocalPlayer.PlayerGUI.Catalog.Morphs.Visible = false
elseif game.Player.LocalPlayer.PlayerGUI.Catalog.Morphs.Visible == false then
game.Player.LocalPlayer.PlayerGUI.Catalog.Morphs.Visible = true
end
end)

1 comment
This in a localscript?