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.
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?
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
That is another way, didn’t cross my mind.
Can that Have errors sometimes?
Yep. Anything CAN error, it’s just a safer way of doing it.
No worries, I made it off the top of my head. I just made it to give you an idea.
Anyways thank you so much for you help!
One thing: Change the wait(0.1)
to task.wait(0.1)
Thx I’ll do it Good night! and thx for help me!