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

Is it possible to check if the reset button has been disabled?

Asked by 5 years ago

I'm making a cutscene editor plug-in, and during a cutscene I want the reset button to be disabled so the player doesn't reset and break something.

The problem is, I don't want to re-enable it just in case the developer wants the reset button to be disabled permanently.

My first thought was to check what the original value of the reset button is, and set it to that after the cutscene finishes.

I tried this:

print(game:GetService('StarterGui'):GetCoreGuiEnabled('ResetButtonCallback'))

But that doesn't work. Any solutions?

Answer this question