Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Removing ROBLOX's base GUIs?

Asked by
Mystdar 352 Moderation Voter
10 years ago

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.

0
If you could disable Menu button people will make you get stuck in their games. You can only disable Backpack, Health, PlayerList, Chat (Chatbar) fireboltofdeath 635 — 10y

2 answers

Log in to vote
1
Answered by 10 years ago

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

0
I'm sorry, I want to keep the health bar Mystdar 352 — 10y
0
There, I edited it where it takes away everything except for the heath bar ;D SchonATL 15 — 10y
0
And you put those three lines in a script in a starter GUI? Mystdar 352 — 10y
0
Thanks! Mystdar 352 — 10y
View all comments (3 more)
0
No problem. And keep the enum wiki link incase you forget. SchonATL 15 — 10y
0
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? Mystdar 352 — 10y
0
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 SchonATL 15 — 10y
Ad
Log in to vote
2
Answered by
duckwit 1404 Moderation Voter
10 years ago

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.

0
So if I out those two lines into a script where would the script go? Mystdar 352 — 10y
0
You would put those lines inside a LocalScript either inside StarterPack or StarterGui. duckwit 1404 — 10y

Answer this question