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?