generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How do I set leaderboard and backpack to hide?

Previous Thread :: Next Thread 
DannyCore is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. DannyCore
Joined: 25 Apr 2012
Total Posts: 990
12 Oct 2013 01:43 PM
Thanks, blocco!

Got it!
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image