|
| 08 Feb 2014 09:50 PM |
how would i make this fire one time?
person.Character.Humanoid.HealthChanged:connect(function(perhealth) if perhealth <=20 and perhealth >=11 then
stuff
end end) |
|
|
| Report Abuse |
|
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 08 Feb 2014 10:02 PM |
con = person.Character.Humanoid.HealthChanged:connect(function(perhealth) print("once") con:disconnect() end) |
|
|
| Report Abuse |
|
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 08 Feb 2014 10:03 PM |
**
con = person.Character.Humanoid.Changed:connect(function(perhealth) print("once") con:disconnect() end) |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 08 Feb 2014 10:03 PM |
game.Players.player.Character.Humanoid.Health.Changed:connect(function(perhealth) if perhealth <=20 and perhealth >=11 then
stuff
end end) |
|
|
| Report Abuse |
|
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 08 Feb 2014 10:06 PM |
| I think I misunderstood what you wanted, but Goulstem, your event is wrong. |
|
|
| Report Abuse |
|
|
|
| 08 Feb 2014 10:27 PM |
| thank you the :disconnect() function worked.i was not aware of it. |
|
|
| Report Abuse |
|
|