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: Remove HealthGUI - Help

Previous Thread :: Next Thread 
xXStealthsniper200Xx is not online. xXStealthsniper200Xx
Joined: 30 Nov 2011
Total Posts: 2037
10 May 2013 03:54 PM
Char = script.Parent.Parent
Player = Char.Character
UI = Char.PlayerGui

if UI:findFirstChild("HealthGUI") == true then
UI.HealthGUI:Destroy()
end

There is no output error and I do not want to use a loop to keep a constant check, this script fires when you respawn, it is also Local.
Report Abuse
coolikevin22 is not online. coolikevin22
Joined: 21 Feb 2011
Total Posts: 450
10 May 2013 04:00 PM
PlayerGui is not inside character, it is inside Player.

~ Make the simple, amazing ~
Report Abuse
xXStealthsniper200Xx is not online. xXStealthsniper200Xx
Joined: 30 Nov 2011
Total Posts: 2037
10 May 2013 04:06 PM
Char = script.Parent.Parent <--
Player = Char.Character
UI = Char.PlayerGui<--

^

Char is the player in my directory, this is right but it doesn't detect it, I know the PlayerGui is NOT inside the Player in Workspace, that would be Player in my directory.
Report Abuse
xXStealthsniper200Xx is not online. xXStealthsniper200Xx
Joined: 30 Nov 2011
Total Posts: 2037
10 May 2013 04:16 PM
Someone help me please, it's just a small problem, and it doesn't work when I respawn but the other scripts like this do, there is no loop.
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