Difference betwen setcore and setcoreguienabled?

i am wanting to know what the difference is between SetCore and SetCoreGuiEnabled when wanting to disable core guis?? i tried seeing both

local StarterGui = game:GetService("StarterGui")

pcall(function()
	StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
end)
local StarterGui = game:GetService("StarterGui")

pcall(function()
	StarterGui:SetCore("TopbarEnabled", false)
end)

using setcore topbarenabled false, when i reset, u can still see the red vignette around the screen. but when using the setcoreguienabled, it removes it. so i am wondering why

what are the differentes between the two that i did not also see? shouldn’t they be the same, if not, explain what their use cases are, and epxlain how they are different. i am confused, thanks.

1 Like

TopbarEnabled only affects the topbar. SetCore is a method that changes select CoreGui settings such as TopbarEnabled, ChatWindowSize, or even prompting a friend request dialogue. SetCoreGuiEnabled allows you to disable certain CoreGuis such as chat or leaderboard.

Edit: I forgot that TopbarEnabled disables more than the topbar.

1 Like

no i am wondering the specific example above i give out. what are the differenves between those two, because aren’t the suposed to be the same?i am wondering this because apparently:

but i found that StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)did not show red vignette when i reset while i saw it on StarterGui:SetCore("TopbarEnabled", false). so that means they are different

my quesiton is why does that occur when they’re supposed to be the same?

1 Like