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. 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 end)
This is a LOCAL SCRIPT Please help!