Unable to disable the reset button

I’m trying to disable the reset button, the script used to work normally. But now this error shows up.
Is it ROBLOX or is it my script?
image
image

Just put this as a local script under StarterGui

repeat
	local success = pcall(function()
		game:GetService("StarterGui"):SetCore("ResetButtonCallback",false)
	end)
until success
1 Like