Veltamax
|
  |
| Joined: 06 May 2012 |
| Total Posts: 368 |
|
|
| 01 Jul 2016 03:40 PM |
| How do I disable the bar on the top of the screen? (the one with the chat, menu, etc. buttons) |
|
|
| Report Abuse |
|
|
AxonMega
|
  |
| Joined: 29 Aug 2014 |
| Total Posts: 2403 |
|
|
| 01 Jul 2016 03:42 PM |
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false) game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerBoard, false) |
|
|
| Report Abuse |
|
|
Veltamax
|
  |
| Joined: 06 May 2012 |
| Total Posts: 368 |
|
|
| 01 Jul 2016 03:47 PM |
I mean this bar:
http://prntscr.com/bnndvw
I would like to keep the default chat and leaderboards. (for now, anyway) I'm almost positive that there is a one-line code to do this... |
|
|
| Report Abuse |
|
|
|
| 01 Jul 2016 04:01 PM |
| Somebody has posted how to do it before, but unfortunately I can't remember what it was, or where it was posted. Hopefully someone else can remember. |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
| |
|
|
| 01 Jul 2016 04:01 PM |
It's gotta have something to do with a core gui
not very helpful I know |
|
|
| Report Abuse |
|
|
sparker22
|
  |
| Joined: 11 Mar 2010 |
| Total Posts: 846 |
|
|
| 01 Jul 2016 04:03 PM |
game.StarterGui:SetCore("TopbarEnabled",false) Disabling the Topbar will disable all CoreGui elements except for the main menu button. The GUI origin also stays shifted so make sure to keep that in mind. |
|
|
| Report Abuse |
|
|
Veltamax
|
  |
| Joined: 06 May 2012 |
| Total Posts: 368 |
|
|
| 27 Jul 2016 02:41 PM |
@Above Doesn't work. This is the error it gives me, which leads me to believe that it is not done this way:
SetCore: TopbarEnabled has not been registered by the CoreScripts |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2016 02:46 PM |
i think its TopBarEnabled
#code print("R$48 -- TheLuaDoge") |
|
|
| Report Abuse |
|
|
Veltamax
|
  |
| Joined: 06 May 2012 |
| Total Posts: 368 |
|
|
| 27 Jul 2016 02:52 PM |
| I'm pretty sure you don't use the SetCoreGuiEnabled method at all, because nothing related to the top bar is not on this page: http://wiki.roblox.com/index.phptitle=Disabling_parts_of_the_game_interface |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2016 03:02 PM |
wait(1) game.StarterGui:SetCore("TopbarEnabled",false)
|
|
|
| Report Abuse |
|
|
|
| 27 Jul 2016 03:15 PM |
| You cant disable the top bar, if you try disabling all the Coregui's the top bar is still there. |
|
|
| Report Abuse |
|
|
sparker22
|
  |
| Joined: 11 Mar 2010 |
| Total Posts: 846 |
|
|
| 27 Jul 2016 06:16 PM |
@sanjay2003
Yes you can. People have already offered the solution. Lmao. Someones outdated. |
|
|
| Report Abuse |
|
|
|
| 27 Jul 2016 06:17 PM |
local starterGui = game:GetService("StarterGui")
spawn(function () while not pcall(starterGui.SetCore,starterGui,"TopbarEnabled",false) do wait() end end) |
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
|
| 27 Jul 2016 06:31 PM |
Its possible, but at the 'cost' of the chat, playerlist, health, & backpack.
No, this will not disable the menu, but only what is listed above. No solution for this. Nope.
local StarterGui = Game:GetService('StarterGui');
Wait(0) pcall(function() StarterGui:SetCore('TopbarEnabled', false) end)
|
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
| |
|
|
| 27 Jul 2016 08:31 PM |
| Oh wow, thanks. Someone told me this wasn't possible. |
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
|
| 27 Jul 2016 09:34 PM |
By the way, it won't work in Studio. Only in a game server.
|
|
|
| Report Abuse |
|
|
oscree
|
  |
| Joined: 19 Dec 2008 |
| Total Posts: 127 |
|
|
| 27 Jul 2016 10:03 PM |
local StarterGui = Game:GetService('StarterGui');
Wait(0) pcall(function() StarterGui:SetCore('TopbarEnabled', false) end) |
|
|
| Report Abuse |
|
|
Naxxanar
|
  |
| Joined: 13 Jun 2012 |
| Total Posts: 709 |
|
| |
|