marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
|
| 30 Dec 2013 10:09 PM |
For one of my games I made a monster that has 200HP, but no matter what it caps at 100HP, making it half red-barred and 100/200 HP. How do I fix this?
Also, it's named differently than the Player Humanoids |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
| |
|
|
| 30 Dec 2013 10:34 PM |
Give it a med pack!
I'm ATR's MINOTAUR |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
|
| 30 Dec 2013 10:35 PM |
| It's 200/200 in Studio but when I save and open it up again in any other mode it's 100/200 |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2013 10:44 PM |
Make sure it's health AND maxhealth = 200 if it keeps doing that then it's in the scripts of the monster.
Mr.Teddy for President ˁ(⦿ᴥ⦿)ˀ |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
|
| 30 Dec 2013 10:49 PM |
I've check and they both are
I'll check the scripts inside |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
|
| 30 Dec 2013 10:57 PM |
| Didn't see anything that would limit the health inside the scripts. Anything else? |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
| |
|
|
| 30 Dec 2013 11:27 PM |
| Possibly a ROBLOX glitch, I use to see a lot of these kinds of problems and if you want further help send me script just in case or post it here so I can read it. If it's long at least post the health function segment. |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
|
| 30 Dec 2013 11:28 PM |
| Would you rather just see the model to see all the scripts and things? |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
|
| 30 Dec 2013 11:29 PM |
http://www.roblox.com/Thief-item?id=140508191
The one I was having trouble with I can't cap any of my monsters more than 100 HP since they're all based off the same 2 things |
|
|
| Report Abuse |
|
|
| |
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
| |
|
|
| 30 Dec 2013 11:46 PM |
I looked at it and remembered, ROBLOX doesn't allow saving the humanoid above 100, 100 is the default humanoid value.
Insert this into a script, maybe the start of Respawn or a new one.
AI = script.Parent aiHealth = AI["RPG Monster"]
repeat wait() until AI aiHealth.Health = aiHealth.MaxHealth
Made it myself to health you. |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2013 11:47 PM |
| This will update the health to whatever the MaxHealth is as soon as the AI is detected, and it only runs once. |
|
|
| Report Abuse |
|
|
marcin
|
  |
| Joined: 14 Dec 2007 |
| Total Posts: 3851 |
|
| |
|
| |
|