DannyCore
|
  |
| Joined: 25 Apr 2012 |
| Total Posts: 990 |
|
|
| 12 Oct 2013 01:28 PM |
When a player joins, how do I set their leader board and backpack GUI to automatically be set to hide.
I haven't been on ROBLOX for a couple of months, so sorry if this is a stupid question to you. |
|
|
| Report Abuse |
|
|
qrrrq
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 1252 |
|
|
| 12 Oct 2013 01:31 PM |
This will hide the leaderboard. Idk about the backpack.
while wait() do Model = Instance.new("Model", game.Players) wait() Model:Destroy() end
|
|
|
| Report Abuse |
|
|
Geodesic
|
  |
| Joined: 02 Jun 2013 |
| Total Posts: 998 |
|
|
| 12 Oct 2013 01:32 PM |
localscript in startergui:
game.StarterGui:SetCoreGuiEnabled(0,false) game.StarterGui:SetCoreGuiEnabled(2,false) |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 12 Oct 2013 01:40 PM |
^ above person doesnt know how to make his code readable
-1 respect from blocco |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 12 Oct 2013 01:43 PM |
Here is some useful API Dump:
Class StarterGui : BasePlayerGui ... Function bool StarterGui:GetCoreGuiEnabled(CoreGuiType coreGuiType) Function void StarterGui:SetCoreGuiEnabled(CoreGuiType coreGuiType, bool enabled)
Enum CoreGuiType EnumItem CoreGuiType.PlayerList : 0 EnumItem CoreGuiType.Health : 1 EnumItem CoreGuiType.Backpack : 2 EnumItem CoreGuiType.Chat : 3 EnumItem CoreGuiType.All : 4 |
|
|
| Report Abuse |
|
|
DannyCore
|
  |
| Joined: 25 Apr 2012 |
| Total Posts: 990 |
|
| |
|
|
| 12 Oct 2013 01:45 PM |
| was this added quite recently? i was not aware this existed till now ( i just checked wiki to make sure ) |
|
|
| Report Abuse |
|
|