Hi, I'm trying to disable the reset character option. I want to do this with a pcall because the function is not always registered with corescripts. I don't know how to make a pcall out of this. Can someone make it clear to me?
Line of code:
StarterGui:SetCore("ResetButtonCallback", false)
it will be :
``` local function disableReset()
local success,err = pcall(function() SetCore("ResetButtonCallback",false) end) if err then warn(err) disableReset() end
end
```