I used the following script
to try and disable the other guis. For example whenever you open the GUI up it disables all over the other guis where that is the only one on the screen you can see. I tried doing that except not only can I not do that but the gui won’t open up anymore. So what’s wrong with my error?A script would be helpful, I cannot help you unless you provide a script.
they obv are trying to get it
they posted the wrong image and edited
Done I posted an image and I meant to add an image in the first place.
Done and thanks for understanding.
are you trying to make the GUI invisible?
I am trying to make all the other guis invisible and just the frame up and then when I exit out it comes back
it you want to make them invisible say .Visible = false not .Enabled = false
Doesn’t work. Plus the gui won’t oven open up.
He is talking about ScreenGuis not Frames.
Correct sir I am talking about ScreenGuis
Misread the post sorry about that
It’s alright thanks for trying to help.
I hate ROBLOX
Is this script a descendant inside the StarterGui? Also I believe you’ve refercened .Parent way too much times
An easier way would be is to use the Player’s PlayerGui instead, and detect changes from there:
local Player = game.Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local Settings = PlayerGui:WaitForChild("Settings")
local Codes = PlayerGui:WaitForChild("Codes")
script.Parent.MouseButton1Down:Connect(function()
Settings.Enabled = false
Codes.Enabled = true
end)
Almost however I need the frame to open and when the frame opens that’s when it disables.
Can you please screenshot where the frame is located and the script will be something like this:
local Frame = script.Parent --// change this to path to your frame
local Frame2 = script.Parent.Frame2 --// change this to path to your second frame
Frame:GetPropertyChangedSignal("Visible"):Connect(function()
if Frame.Visible == false then
Frame2.Visible = true
else
Frame2.Visible = false
end
end)
