local ScreenGui = Instance.new("ScreenGui")
is the local ScreenGui.
local ScreenGui2 = Instance.new("ScreenGui") and ScreenGui2.Name = "ScreenGui2" are the variables and names.
ScreenGui.Enabled = false and
ScreenGui2.Enabled = true
Note: ScreenGui didn't have his name changed.
The GUI's don't show up.
No errors, and it's a LocalScript. I program the ScreenGui2 to set ScreenGui's enabled to true after pressing a button, aswell.
I also need to know if local scripts can FireServer to the remote event in replicated storage

1 comment
Try changing the visibility of the frames instead of the screengui's, as far as I remember, if the screengui is disabled, then the script is too.