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

Im trying to make the script disable after 28 seconds why isnt this working?

how do i fix this:

if script.Disabled = false then wait(28) script.Disabled = true end

if i can also just end the script after its job that would work too.

1 answer

✓ Accepted answer

A script won't work if it's disabled, in your case you disabled the script itself making it unable to continue the countdown thus can't enable itself back. I'd suggest you disable that script with another script. There's also something off with your script.

Edited: After reading the title request, you want to disable the script but you are checking if the script is disabled, if you want to disable it, here.

wait(28)
script.Disabled = true

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