Question about Reset character button

Hello
Is there a difference between user clicking “Reset character” button and calling in a script something like "humanoid:TakeDamage(humanoid.Health)?

And 1 more question. Is there a way to have a custom confirmation message when the user clicks Reset character button? I saw that you can implement a custom resetting behavior using game:GetService(“StarterGui”):SetCore(“ResetButtonCallback”, resetBindable),
however the default confirmation message is still shown?

Thank you in advance

Using ResetButtonCallBack is only possible on localscripts if you wanna use it on server scripts you’d have to use remote events for that.

Possibly.
TakeDamage is just the humanoid taking damage
while reset buttons fully forces the humanoid to DIE or just putting back to 0 hp.

This would have to be: game:GetService(“StarterGui”):SetCoreGui(“ResetButtonCallback”.Enabled, false)`Preformatted text

And ResetCharacter is much different then killing or damaging the player because it returns the player’s scripts

To answer your first question, no, there is no difference. Resetting is just killing the humanoid and causing it respawn, which if you set the health to 0, does the same thing.

To answer your second question, it is not possible to prevent this default confirmation message, however what you can do is disable the reset button all together and make a fully custom one of your own for players to use.