Reset Button Callback Issue

I am using a LocalScript in StarterPlayerScripts to disable the reset button:

StarterGui:SetCore("ResetButtonCallback", false)

Around 30% of the time, it won’t fire because it hasn’t been registered by the CoreScripts yet. Is there a specific amount of time I can wait or something so that this error will not happen?

The solution to this post should work. I’ve used it and it’s never been a problem for me.