of     1   

JoelC2
#53937162Tuesday, August 30, 2011 8:18 PM GMT

the value of a gui in my game = 0 i want the person who has the gui in their guis to die but idk how to identify the oerson to acsess their humanoid ino that part of the script wud be like this.... --------------- if CurrentValue.Value = 0 then PERSON.Humanpid.Health = 0 ---------------- so idk how to find the exact person to kill :l kinda bad description but its for a hunger game gui. Any help?
UFAIL2
#53937264Tuesday, August 30, 2011 8:20 PM GMT

Please, double check your spelling and try to use grammar, I can't read that.
[rfa#hidefromsearch]
#53937354Tuesday, August 30, 2011 8:21 PM GMT

[rfa#hidefromsearch]
JoelC2
#53937380Tuesday, August 30, 2011 8:21 PM GMT

when the value of a hunger game like the hunger,thirst,sleep go to 0 then i want the oerson to die of hunger thirst or sleep i just dont know how to indentify the person to acsess their humanoid or break:joint()
[rfa#hidefromsearch]
#53937504Tuesday, August 30, 2011 8:23 PM GMT

[rfa#hidefromsearch]
UFAIL2
#53937576Tuesday, August 30, 2011 8:24 PM GMT

Um, you could just parent up until the Player, then access the Character.
JoelC2
#53937835Tuesday, August 30, 2011 8:28 PM GMT

Gui's go into the "Players Service" not "Workspace"
UFAIL2
#53937919Tuesday, August 30, 2011 8:29 PM GMT

Parent up the the Player, then use this: Player.Character
[rfa#hidefromsearch]
#53937945Tuesday, August 30, 2011 8:29 PM GMT

[rfa#hidefromsearch]
[rfa#hidefromsearch]
#53937989Tuesday, August 30, 2011 8:30 PM GMT

[rfa#hidefromsearch]
JoelC2
#53938008Tuesday, August 30, 2011 8:30 PM GMT

OHH i didnt understand wat u meant bfore
JoelC2
#53938474Tuesday, August 30, 2011 8:37 PM GMT

This may have some fails but is this it? _____________________________________________________________ local Player = script.Parent.Parent.Parent.Parent.Character local CurrentValue = script.Parent.CurrentValue if CurrentValue.Value == 0 then game.Workspace.Player.Humanoid.Health = 0 end ______________________________________________________________
UFAIL2
#53940319Tuesday, August 30, 2011 9:04 PM GMT

Always include Output. Why did you define the Player, but not use it? local Player = script.Parent.Parent.Parent.Parent.Character local CurrentValue = script.Parent.CurrentValue if CurrentValue.Value == 0 then Player.Humanoid.Health = 0 end

    of     1