Here is my script attempting to remove all Core GUIs:
if game:FindService("StarterGui")then --If game finds service StartGui then game:GetService("StarterGui"):SetCoreGuiEnabled("All",false) --Sets PlayerList into disabled mode end --The end for the if statement
Please leave a reply
This method is only usable in local scripts. This is the way I always do it.
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)