The new coregui doesn't respect SetCore("TopbarEnabled")

How to reproduce:

  1. Open Roblox Studio
  2. Create a place
  3. Create a LocalScript in StarterPlayerScripts and put this code in it:
local starterGui = game:GetService('StarterGui')

local function trySetCore(parameterName: string, value: any)
	local ok = pcall(starterGui.SetCore, starterGui, parameterName, value)
	
	while not ok do
		ok = pcall(starterGui.SetCore, starterGui, parameterName, value)
		task.wait()
	end	
end


trySetCore('TopbarEnabled', false)
  1. Run The game

Expected behavior

In the old coregui (2020+) the coregui features like the chat, backpack, emotes were disabled when calling SetCore(‘TopbarEnabled’, false) but in the new one the buttons for those features aren’t hidden even though the actual parts are disabled and the chat gui is still enabled


3 Likes