The script is located in Lighting, inside a Screen GUI. What I'm trying to do is so when the Intro GUI loads, and the person presses 'start' the two Image Buttons appear.
script.Parent.TextButton.MouseButton1Click:Connect(function() script.Parent.Frame.Visible = false script.Parent.Frame1.Visible = false script.Parent.TextButton.Visible = false script.Parent.TextLabel.Visible = false script.Parent.TextLabel2.Visible = false script.Parent.TextLabel3.Visible = false script.Parent.Parent.Parent.StarterGui.EggMenu.a2018.Visible = true script.Parent.Parent.Parent.StarterGui.EggMenu.a2019.Visible = true end)
(it used to work until i put the screen gui into Lighting this is because the script to load the screen gui when someone joins required for it to be in lighting)
Okay, first of all the fact that you have it in lighting is just wrong. You don't put it in lighting. And like RobloxWhizYT said you should put it in ReplicatedStorage. playergui = game.Players.LocalPlayer:WaitForChild("PlayerGui") and then do something like GUI = YourGui:Clone() Gui.Parent = playergui
Your script here.
When I create Screen Guis, I either put them in PlayerGui or in Replicated storage. Putting Guis in lighting can cause a lot of problems. Please Upvote this to support me