|
| 30 May 2013 07:25 PM |
| I am using the "robot" that most people use on zombies/npc. However the humanoids health i put max 5000 , and reg. 5000. But when in game, it stays at the deafault 100? How come? DOes this happen to others? |
|
|
| Report Abuse |
|
|
|
| 30 May 2013 07:27 PM |
This happened to me before, i just put a .changed event
humanoid.MaxHealth = 5000 humanoid.Changed:connect(function(ch) if (ch=="MaxHealth") then if (humanoid.MaxHealth~=5000) then humanoid.MaxHealth = 5000 end end end) humanoid.Health = humanoid.MaxHealth |
|
|
| Report Abuse |
|
|
|
| 30 May 2013 07:36 PM |
| AS a function, meaning add a new script and put that into the model? because thats what I kinda am trying to attempt, but it keeps glitching |
|
|
| Report Abuse |
|
|