|
| 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 |
|
|
|
| 10 May 2013 04:00 PM |
PlayerGui is not inside character, it is inside Player.
~ Make the simple, amazing ~ |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|