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
You need to add a frame to the screen GUI. Screen Guis dont show anything by themselves. You need to create a frame and put it inside of the two Screen Guis or else enabling/Disabling won't visibly show anything.