Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why Is The Script Running Even Though The Parent Is Disabled?

Hello! I am a scripter that started 1 month ago, and I have a question does scripts still run if it's in a GUI that is disabled?

here is my story

I have a script in a screen GUI and the screen GUI is on the starter GUI, I also made the screen GUI disabled, what I'm trying to do is to enable the screen GUI with another script but, the script inside the screen GUI executed by its own, I checked if the screen GUI is enabled and it's not

So?

if you're asking what my script in the screen GUI was it was this:

script.Parent.MainFrame.Visible = true

I was really confused sorry

2 comments

0

the script that enables it was disabled btw

0

The script will keep running even if the GUI is disabled. You need to disable the script itself.

1 answer

This Is Cause If The Frame's Visibility Is Disabled It Wont Disable The Script But If The ScreenGui Is Disabled Then The Script Would Also Be Disabled Also This Is Not A LUA Question

1 comment

0

Sorry, I know that this is not a LUA question but I just want to know, and I have been scripting for over 5 hours so I was really tired and confused about everything because I was tired

This discussion is preserved as it was. New answers, comments, and votes are closed.