How do you disable the Reset button now a days?

I’ve relized that recently the script to disable the reset button has stopped working. And everytime I use the script, Roblox gives me an error saying, SetCore: ResetButtonCallback has not been registered by the CoreScripts. So, how would you disable the reset button now a days?

1 Like

Put this in a LocalScript in StarterGui.

local StarterGui = game:GetService("StarterGui")

StarterGui:SetCore("ResetButtonCallback",false)

That’s the exact script that no longer works. And yes, I do always put it in a local script.

Yes it does. I just tried it. Worked perfectly.

That means for some it works but for others it doesn’t. Weird.

It’s not going to be registered instantaneously, but you can try disabling it in protected mode and looping if it failed:

local tries = 0
local maxTries = 10
local starterGui = game:GetService("StarterGui")

repeat
    local success = pcall(starterGui.SetCore, starterGui, "ResetButtonCallback", false)
    tries += 1
    wait(.5)
until success or tries == maxTries

Try to add this inside a local script in StarterCharacterScripts

local coreCall do
	local MAX_RETRIES = 8

	local StarterGui = game:GetService('StarterGui')
	local RunService = game:GetService('RunService')

	function coreCall(method, ...)
		local result = {}
		for retries = 1, MAX_RETRIES do
			result = {pcall(StarterGui[method], StarterGui, ...)}
			if result[1] then
				break
			end
			RunService.Stepped:Wait()
		end
		return unpack(result)
	end
end

assert(coreCall('SetCore', 'ResetButtonCallback', false))
1 Like

Oh that helped. Thanks for your help!

make this a local script inside StarterGui, its working for me, and I just tested it.

local StarterGui = game:GetService("StarterGui")
wait(1)
StarterGui:SetCore("ResetButtonCallback", false)

This problem was solved 4 hours ago.

yes I understand but, I don’t know the point of adding extra unnecessary code when its as simple as 3 lines

So that if it fails, it will try and disable it again until it is disabled