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

yeah, no stupid question.?

wow i cant delete this stupid question from two years ago

8 comments

0

yes

0

Obviously :/

0

Duhhhhhhhhh

0

lol this question xD

0

Im sorry im just wondering why people use enabled = false for gui's

0

But thanks lol

0

accept an answer pls me

0

people use Enabled = false because Enabled is a property of guis. Disabled is not. therefore it is only reasonable and correct to say that Enabled = false

3 answers

✓ Accepted answer

Yes it is.

if something is enabled then its not disabled or the other way around

eg.

script.Disabled = true -- now it's not disabled. lol.

script.Enabled =  false -- still disabled. lol.

accept if this helps

1 comment

0

disabled is not a property of scripts, or any other instance as far as i know

Yes, It Is The Exact Same, In Most Cases. A case where it would be different is if You created your own Value that is called enabled which you for whatever reason chose to make it disable something if it equals true.

Most Cases:

local disabled = true -- Disabled
disabled = false -- Enabled
local enabled = true -- Enabled
enabled = false -- Disabled

1 comment

0

this is retarded bc those are just variables. thats his own common sense what he names his variables

same thing but backwards xD

script.Disabled = true -- Disabled
script.Enabled = true -- Enabled
script.Disabled = false -- Enabled
script.Enabled = false -- Disabled

1 comment

0

disabled is not a property of scripts, or any other instance as far as i know

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