So, this script is SO EXTREMELY EASY and I have no idea why it doesn't work, it works in every single other script but not this one. I want the GUI to become visible when I click the button thx... Here it is:
player = game.Players.LocalPlayer
playerGui = player.PlayerGui.ScreenGui
script.Parent.Parent.MouseButton1Click:Connect(function()
playerGui.RedUpgradeGui.Main.Visible = true
playerGui.RedUpgradeGui.Main.Active = true
print("Made visible")
end)
This is a LOCAL SCRIPT Please help! This script is in StarterGui.
It even prints Made Visible!

7 comments
Could simply be that a parented GUI is not enabled, or the code isn't inside a LocalScript. Also I believe if the parent isn't an Image Button or Text Button then MouseButton1Click won't fire.
May you please show the set up for the GUI
The parent is a TextButton...
And is inside RedUpgradeGui and inside the ScreenGui.
This should work...
It even print when I usee the mousebutton1click function...
since your local script is in PlayerGui, just use the hierarchy of the PlayerGui to get the GUIs