Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to prevent ResetButtonCallback error?

I have been trying to make an anti reset script but it's not too reliable. I constantly get this syntax error.

SetCore: ResetButtonCallback has not been registered by the CoreScripts

Here is the script I made.

local StarterGui = game:GetService("StarterGui")

script.Parent:SetTopbarTransparency(1)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
StarterGui:SetCore("ResetButtonCallback", false)

1 answer

✓ Accepted answer

Actually, it's a good idea to wait before you register that sort of stuff. Core scripts loading soon enough isn't precisely reliable just yet.

I've personally found that a simple wait() does wonders, but YMMV.

--...
wait()
StarterGui:SetCore("ResetButtonCalback",false)
--...

1 comment

1

thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.