We use cookies on this site to enhance your user experience

CoreGui

CoreGui

The CoreGui object is a service used for storing Roblox GUIs. It functions like a PlayerGui, except that it doesn’t refresh when the character dies and that it cannot be used by normal scripts. It is used to hold HUD elements like the playerlist, and menu, and because of this can only be used by Plugins, the Command Bar, and CoreScript. Usually, most items placed within this service are RobloxLocked to prevent normal users from editing them.


You can use the StarterGui/SetCoreGuiEnabled and StarterGui/GetCoreGuiEnabled methods of StarterGui using a LocalScript to enable and disable most elements of the CoreGui for the LocalPlayer the LocalScript is associated with.