whats the error in this bc my shop gui aint working
shopButton.MouseButton1Click:Connect(function() mainFrame.Visible = not mainFrame.Visible end)
whats the error in this bc my shop gui aint working
shopButton.MouseButton1Click:Connect(function() mainFrame.Visible = not mainFrame.Visible end)
shopButton.MouseButton1Click:Connect(function() mainFrame.Visible = false
end)
You need to use false
shopButton.MouseButton1Click:Connect(function()
mainFrame.Visible = false
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.