Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a frame visible even thought the visible box is checked?

Asked by
iVmk3 -143
4 years ago

The visible box is checked and I have also added this Local Script:

BackgroundF.Visible = true

-- BackgroundF is the frame
0
I assume you mean you want to make the frame invisible even if its visible property is set to true. You can do this by going to its parent ScreenGui and setting its enabled property to false. I mean, that's what I would do. I don't know how complicated your UI setup is, and what other UI elements you'd be potentially disabling by disabling the parent ScreenGui of the frame. Rinpix 639 — 4y
0
Is it in a screenGUI? SethHeinzman 284 — 4y
0
Bold of me to assume that he even put it in a ScreenGui in a first place ig, lol Rinpix 639 — 4y
0
To SethHeinzman, yes, yes it is. iVmk3 -143 — 4y
View all comments (7 more)
0
I thought you had misworded your question a little bit, my bad. Rinpix 639 — 4y
0
Oh ok. iVmk3 -143 — 4y
2
Why would you want to make a visible frame visible if it's already visible? DesertusX 435 — 4y
0
I don't see why it's not visible if the visible property is set to true and if the frame is inside of a ScreenGui to begin with... Rinpix 639 — 4y
0
Ikr? iVmk3 -143 — 4y
0
Is the ScreenGui even enabled? Rinpix 639 — 4y
0
i just figured that out. it wasnt lol iVmk3 -143 — 4y

1 answer

Log in to vote
1
Answered by
Ieowyyn 69
4 years ago

Alright, this is a very simple answer to begin with. It's most likely your ScreenGui's Enabled property is disabled. If you want to enable it, you need to go to the property of the ScreenGui and make the Enabled value checked. If you want to make a script, it's simple:

local ScreenGui = script.Parent.Parent

if ScreenGui.Enabled == false then
ScreenGui.Enabled = true
end
Ad

Answer this question