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 |
|
|
|
| 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
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 26 Oct 2013 01:46 AM |
Then Wiki it.
"U BROKE THE TV U IDIOT!" - CeaselessSoul |
|
|
| Report Abuse |
|
|
velibor
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 1003 |
|
|
| 26 Oct 2013 01:50 AM |
| http://wiki.roblox.com/index.php/SetCoreGuiEnabled |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 20 Oct 2013 |
| Total Posts: 2 |
|
| |
|