You can disable the reset button in a Roblox game with a LocalScript by calling SetCore("ResetButtonCallback", false). Put it in StarterPlayerScripts or StarterCharacterScripts so it runs for each player.

Simple setup

  1. Open Roblox Studio.
  2. Add a LocalScript under StarterPlayer > StarterPlayerScripts.
  3. Paste this:
lua

task.wait(1)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", false)

This hides/disables the reset option for that player’s client.

Important note

This is a client-side setting, so exploiters can potentially re-enable it on their own client. A devforum post notes that SetCore affects the client and can be changed back, so it is not a secure server-side protection by itself.

If you need stronger control

If you want reset prevention only during certain moments, use a server-to- client RemoteEvent to turn it off temporarily on the player’s client. For more strict gameplay control, some developers instead manage character health or respawn flow on the server.

TL;DR: Put StarterGui:SetCore("ResetButtonCallback", false) in a LocalScript to disable resetting, but know it is not fully secure against exploiters.