I want to be able to hide a GUI when i open another one in game when the game is published, like for example: I open rebirth frame and then I open shop frame, and the rebirth frame disappears.
Something like this.
1 | rebirthframe = --reference where rebirth frame is |
2 | shopframe = --reference where shop frame is |
3 |
4 | script.Parent.MouseButton 1 Click:Connect( function () |
5 | rebirthframe.Visible = true |
6 | shopframe.Visible = false |
7 | end ) |