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

How to u check/uncheck properties in a script?

So I know a lot of things but one thing I still didn't learn is how to check and uncheck properties using script. I tried using this:

local gui = script.Parent
gui.Enabled = "Yes"

but of course it didn't work. How would I do that?

1 answer

✓ Accepted answer

To check use this:

gui.Enabled = true

To uncheck use this:

gui.Enabled = false

Basically, false unchecks and true checks. I hope this helped you.

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