Why i can't disable Reset button?

idk why, but setcore dosen’t worked

wait(1)

game:GetService("StarterGui"):SetCore("ResetButtonCallback", false)

image

1 Like
local StarterGUI = game:GetService("StarterGui")

---// Deactivates the Reset Button
repeat -- Starts the repeat loop
	local success = pcall(function() 
		StarterGUI:SetCore("ResetButtonCallback", false) 
	end)
	task.wait(1) -- Cooldown to avoid freezing
until success -- Runs the loop until the Reset Button is disabled.
print("SUCCESS | Reset button core GUI disabled!") -- Debugging

btw don’t call it off, call it How can i disable the reset button

3 Likes

You can also use Promise, but this works too.

1 Like

Just a quick question. Why would you do this?
I’ve been in games where there’s no reset and a glitch occurs that locks me into a situation I can’t get out of without quitting the game.
Are you planning on having your own Reset button?

nope, if player doing reset character, camera start glitching and need to rejoin game

Then you really should try to fix that issue instead of just making the player leave to keep it from glitching.

Your way is like saying “when my car turns left it makes a squealing noise, so I’ll just turn right and it won’t squeal”.

1 Like