|
| 24 Sep 2014 04:24 PM |
| In roblox studio, I made a NPC and made it's humanoid object have more than 100 health and then I saved it. When I come back, everything saved except for the amount of health. It resets back to 100. Plz tell me how to fix this or why it happens. P>S I don't know the correct forum so if this is in the wrong one... |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2014 09:14 PM |
Did you change both the MaxHealth and Health values?
i put the fun in funeral |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Sep 2014 03:24 PM |
| What did you set the health to and how are you testing the health? |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2014 03:58 PM |
| To ensure that the health stays that high, you /must/ change the MaxHealth property as well as Health. If you already have, then I don't know. |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2014 04:43 PM |
| I DID change the Max Health. Don't you people read other things other people say, not just the OP? |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2014 06:38 PM |
I am no scripter but I think you need to write a script changing the maxhealth. A basic Humanoid has a default script that only reaches 100 maxhealth.
Sorry I'm just guessing. |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2014 07:59 PM |
| I /am/ a scripter, and it /is/ possible that a script inside of your NPC that sets it's health and maxhealth to 100 when the script is ran. If you'd like, I can look over the script for you, if you'd sent me a model of it. |
|
|
| Report Abuse |
|
|
Scottifly
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 9180 |
|
|
| 25 Sep 2014 08:48 PM |
In the original post you did not say you changed the MaxHealth. There are 2 values in the Humanoid that have to be set, the MaxHealth AND the Health. Don't get mad because you did not put all the information in your original post. |
|
|
| Report Abuse |
|
|
Scottifly
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 9180 |
|
|
| 25 Sep 2014 08:50 PM |
The reason everyone is suggesting this answer is because normally that's how it's done. Unless like already stated you have a script in there that is changing it while playing the game. |
|
|
| Report Abuse |
|
|