for soem reason this does not work.
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
game.StarterGui:SetCore("TopbarEnabled",false)
local Player = script.Parent
local GUI = script.Parent.Parent.PlayerGui.LoadingGui
local Check = GUI.MainFrame
Check:GetPropertyChangedSignal("BackgroundTransparency"):Connect(function()
if Check.BackgroundTransparency == 1 then
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, true)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, true)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
game.StarterGui:SetCore("TopbarEnabled",true)
end
end)
its not reverting back to robloxs orginal mainframe.
Its suppose to hide some of ths uis roblox put in then turn them visible again.