I have a LocalScript in StarterGui with the sole purpose of disabling the ResetButton. The problem is, the reset button only disables after a bit when I reset my character/play the game for a while. Is there anyway I can fix this?
This only happens sometimes.
pcall(function()
local starterGui = game:GetService("StarterGui")
starterGui:SetCore("ResetButtonCallback",false)
end)
"SetCore: ResetButtonCAllback has not been registered by the CoreScripts"
local starterGui = game:GetService("StarterGui")
repeat
wait()
local succ,err = pcall(function()
starterGui:SetCore("ResetButtonCallback",false)
end)
until succ
local StarterGui = game:GetService("StarterGui")
while (true) do
local success, _ = pcall(StarterGui.SetCore, StarterGui , "ResetButtonCallBack", false)
if (success) then break end
end