How did Rolve remove the Roblox Menu Gui?

How did they remove the Gui on this??

in the video once in the game it removes the roblox menu gui
idk if this is just a glitch with my game or not

for _, gui in pairs(game:GetService(“CoreGui”):GetChildren()) do
gui:Destroy()
end

I don’t think that will work, this does:

game.StarterGui:SetCore("TopbarEnabled", false)
-- or
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)

The second one doesn’t hide icons created with the TopbarPlus library. And with it you can choose to hide only specific core guis.

2 Likes

(I got a jumpscare with the odd noise to 0:00 > 0:07, LOL)

As Roblox have CoreGui (for short, a global property containing all Roblox in-game interfaces), it is possible to hide by going to your Roblox Studio > your project > StarterGui and creating a LocalScript

@ketrab2004 I have tested both of the codes, and it seems that the first one actually works truly, yet it does not remove the Roblox Menu whether than the rest… IIRC, according to my friend, you can as through plugins

To be honest it looks like it teleports you to another place within the experience. Roblox’s TeleportService has a method to set a custom loading / teleport GUI.
After loading in you could simply just copy the UI again so you can’t tell the difference and go from there.
https://create.roblox.com/docs/reference/engine/classes/TeleportService#SetTeleportGui
I might be wrong though.

But how did they remove the Roblox Main CoreGui? Isn’t it impossible???

If I remember correctly you can disable every single gui elements, including CoreGui, by renaming PlayerGui to something else (I forgot if you had to do this from the server or the client). I’m not sure how to disable only the CoreGui though.

1 Like

PlayerGui just clones all of interfaces you have created through StarterGui to a LocalPlayer.

In addition, if you search for the API “CoreGui” through the documentation website, there is going to be explanation about while providing code samples.

Found it after some messing around! To get rid of it you need to immediately rename the PlayerGui of the player to something else. Works with a ReplicatedFirst localscript.

Edit: Somehow didn’t notice the post above, its described much better there.

1 Like

I think they have a LocalScript in StarterGui that sets the MenuEnabled property of the PlayerGui to false (that’s what the menu button in the top right is). You can do the same thing, just keep in mind that the player won’t be able to take screenshots or change their graphic settings if the PlayerGui’s MenuEnabled property is set to false.

How would I be able to do this using plugins? Do I just make a button that loops through CoreGui and removes all it’s descendants? (If so, wouldn’t that also remove other plugins’ GUIs?)

Or maybe, is it possible to just make a plugin generate a script in CoreGUI that first disables all CoreGUI stuff and then deletes the ThemeProvider GUI (ThemeProvider is the UI inside of CoreGUI that contains the escape menu button and chat button) (or moves it to another parent so it can be brought back later)

There isn’t a MenuEnabled property in the PlayerGui, though ._.

I am not sure how to respond as I didn’t make the script, but it is possible to have a further answer by the creator the following plugin below

https://create.roblox.com/marketplace/asset/11933028402/Roblox-CoreUI-Handler

1 Like