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 to (permanently) remove HealthGUI?

Previous Thread :: Next Thread 
Exasperte is not online. Exasperte
Joined: 19 Oct 2013
Total Posts: 146
26 Oct 2013 01:16 AM
How to remove permanently HealthGUI?
So for each player who plays the game there won't appear any HealthGUI.
Report Abuse
SlyCat123123Sly123 is not online. SlyCat123123Sly123
Joined: 09 Aug 2010
Total Posts: 663
26 Oct 2013 01:17 AM
Call the PlayerAdded event, call the CharacterAdded event inside the PlayerAdded event, made a line of code to wait for the HealthGUI, and then delete it.

"U BROKE THE TV U IDIOT!" - CeaselessSoul
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 Oct 2013 01:18 AM
SetCoreGUI?
Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
26 Oct 2013 01:20 AM
put this is local script in playergui

script:
wait(2)
game.StarterGui:SetCoreGuiEnabled(1, false)
script:Destroy()
Report Abuse
Exasperte is not online. Exasperte
Joined: 19 Oct 2013
Total Posts: 146
26 Oct 2013 01:24 AM
Nevermind, I figured it out:

wait(0.2)
if script.Parent.Parent.PlayerGui:FindFirstChild("HealthGUI") ~= nil then
script.Parent.Parent.PlayerGui.HealthGUI:remove()
end
Report Abuse
velibor is not online. velibor
Joined: 24 Nov 2009
Total Posts: 1003
26 Oct 2013 01:44 AM
Please don't use that way. Use the :SetCoreGUI() method. This allows you to remove it by just caling it once at the StarterGui
Report Abuse
Exasperte is not online. Exasperte
Joined: 19 Oct 2013
Total Posts: 146
26 Oct 2013 01:45 AM
I'm bad with scripts... I don't really know what :SetCoreGUI() is...
Report Abuse
SlyCat123123Sly123 is not online. SlyCat123123Sly123
Joined: 09 Aug 2010
Total Posts: 663
26 Oct 2013 01:46 AM
Then Wiki it.

"U BROKE THE TV U IDIOT!" - CeaselessSoul
Report Abuse
velibor is not online. velibor
Joined: 24 Nov 2009
Total Posts: 1003
26 Oct 2013 01:50 AM
http://wiki.roblox.com/index.php/SetCoreGuiEnabled
Report Abuse
Exasperte is not online. Exasperte
Joined: 19 Oct 2013
Total Posts: 146
26 Oct 2013 02:10 AM
@velibor.

Thanks, but how do I use it ( SetCoreGuiEnabled).
Report Abuse
H0lI is not online. H0lI
Joined: 20 Oct 2013
Total Posts: 2
26 Oct 2013 02:32 AM
Put In The Player GUI
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