I understand this is not the place to ask for scripts however I do not understand how to remove them. Firstly a script to remove the Menu button and the use of ESC to bring it up, then remove Mouselock shift. The Player GUI where it shows all the names, and the toolbar GUI also need to be removed, but I would like to keep the Health GUI. Thank you in advance.
Removing ROBLOX's base GUIs?
2 answers
I have a smaller script that you can use to get rid of the backpack, leaderboard, and the healthbar. Here ya go..
game.StarterGui:SetCoreGuiEnabled(0, false)
game.StarterGui:SetCoreGuiEnabled(2, false)
game.StarterGui:SetCoreGuiEnabled(3, false)
The 4 is an enum, I believe. Here's the wiki link to "Enum's". You can change the script depending on what you want taken away. Oh, and put that in the StarterGui
7 comments
I'm sorry, I want to keep the health bar
There, I edited it where it takes away everything except for the heath bar ;D
And you put those three lines in a script in a starter GUI?
Thanks!
No problem. And keep the enum wiki link incase you forget.
Sorry, this was fine in play solo but then I went on the game properly and the leaderboard and Toolbar were both still there, where do I put the script in the starter GUI?
You should just be able to place it in StarterGui. I actually got the script from somebody else a day or two ago. Go ask them, they were huner2. And here's the link to the question that I asked.. https://scriptinghelpers.org/questions/6396/how-would-i-take-away-the-auto-guis-and-add-my-own-such-as-leaderboards
You cannot disable the Menu button, nor Mouselock, nor the ESC key binding to the Menu.
You can, however, disable the PlayerList and the Backpack (Toolbar) from a LocalScript like-so:
game.StarterPack:SetCoreGuiEnabled("Backpack",false)
game.StarterPack:SetCoreGuiEnabled("PlayerList",false)
Read more about this method here.
You will need to hide them each time the Player spawns.
2 comments
So if I out those two lines into a script where would the script go?
You would put those lines inside a LocalScript either inside StarterPack or StarterGui.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
If you could disable Menu button people will make you get stuck in their games. You can only disable Backpack, Health, PlayerList, Chat (Chatbar)