Can't turn off leaderboard

I’m trying to turn of a few gui cores.

It doesn’t work, it only disable the option to reset yourself.

game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.SelfView, true)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", false)

The script is a local script in: StarterCharacterScripts

Thank you all!

i think you have to create as many local scripts in startergui as there are things you want to disable. so create 4 local scripts and in every one of them put one of the scripts instead of typing it all in one. so basically create 4 local scripts in startergui and then in the first script ( ** **game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)** **) in the second one ( ** **game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)** **" and repeat the till youre done. hope this helps


Your code works well for me, it disabled everything except the chat and selfview

Perhaps put a task.wait() before the lines or inbetween to see if that helps?

1 Like

After you told me that it worked for you, i realized that there may be a script that activated all of them a few later. And it was true. Thank you for making me realize

1 Like

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