Reset Button Call Back Error

I’ve a problem with Reset Button Call Back.

Pls help me!

I don’t know how to fixe it.

That is actually normal. It fails sometimes, though I do think copying scripts are bad, their is a topic similar like this with a solution. It explains why it fails too, just search up something like “How to disable reset button” on the Devform I’m pretty sure you’re question will get answered.

1 Like

Thank you I’ll take a look on the developer forum!

It’s a glitch, don’t worry about it. I’d add a repeat loop when setting it to false, it may make it more reliable.

So… This should help?

image

NONONO, use this:

local StarterGui = game:GetService("StarterGui")

StarterGui:SetCore("ResetButtonCallback", false)

repeat
    task.wait(0.1)
until StarterGui:SetCore("ResetButtonCallback", false)

print("Set.")

That should be more reliable! Yet again though, it is a glitch that occurs, and this may not fix it.

You could also do this:

local StarterGui = game:GetService("StarterGui")

repeat
	local success, errorMessage = pcall(function()
		StarterGui:SetCore("ResetButtonCallback", false)
	end)
	
	wait(0.1)
until success
1 Like

That is another way, didn’t cross my mind. :grinning_face_with_smiling_eyes:

1 Like

Can that Have errors sometimes?

Yep. Anything CAN error, it’s just a safer way of doing it.

Bro your script isn’t working. Sorry but I think that @RamonPIayz wins this round XD

No worries, I made it off the top of my head. I just made it to give you an idea. :slightly_smiling_face:

Anyways thank you so much for you help!

1 Like

One thing: Change the wait(0.1) to task.wait(0.1)

Thx I’ll do it Good night! and thx for help me!