How can you make the reset button pressable, but doesn't do anything?

Hey Developers!
I was recently playing some games, and I noticed a few of them, the reset button was pressable, but it didn’t actually do anything!
Some of you might not understand what I mean, Here is a GIF Showing you:

https://gyazo.com/337b2e1394ea0c9e86fb72bc84b49031

I was wondering if someone could explain how to implement this feature for my own game.
I know that you can use this:

game.StarterGui:SetCore('ResetButtonCallback', false)

But that disables the reset button completely.
Thanks for any help!

3 Likes

I have never actually seen that, usually if you can’t reset at all, it won’t show the button, unless there is some kind of custom death protection involved in that game, and the button hasn’t been disabled, I can’t really see how it would be possible.

1 Like

Instead of false you can also pass a BindableEvent as the second parameter to implement your own code to run when the reset button is used. Using false should just disable it.

7 Likes