Found a CoreGuiType Enum?

So CoreGui stuff I guess.

-- Code is below.
local UIS = game:GetService('UserInputService') 
	if input.KeyCode == Enum.CoreGuiType then

I’m really confused because you aren’t supposed to be able to access CoreGui
And I was testing enum types and found that.

1 Like

Enum.CoreGuiType enum is generally used by developers for StarterGui:SetCoreGuiEnabled function to disable certain CoreGuis like leaderboard, chat, emotes menu, ect.

Ohhhhh I see so like how people disable shift lock?

I’m not sure what you’re talking about.

Shiftlock behaviour is determined by StarterPlayer.EnableMouseLockOption property and that property uses booleans, not EnumItems.