ResetButtonCallback doesnt work

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? i want to make it so players can’t reset their character

  2. What is the issue? there was an error saying SetCore: ResetButtonCallback has not been registered by the CoreScripts
    this is what’s happening
    Screenshot 2022-10-20 133745
    that’s what i expected
    Screenshot 2022-10-20 133802

  3. What solutions have you tried so far? i found one on the devforums but it didn’t work

StarterGui:SetCore("ResetButtonCallback", false)
1 Like

Where is the script located? I’ve had the same problem before and it worked when I put the script in starter gui

It’s at starterGui, it would move the script to PlayerGui automatically

local StarterGui = game:GetService("StarterGui")

repeat
    local sucess,err = pcall(function()
         StarterGui:SetCore("ResetButtonCallback", false)
    end)
    if sucess and not err then break end
    task.wait() -- Just to make sure it doesn't freeze their game.
until false
3 Likes

if it doesnt work then replace sucess with success

1 Like

Oh, oops I made a typo, I didn’t realize that.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.