RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
|
| 07 Jul 2014 02:58 AM |
when I open my place in ROBLOX studio, so also when I open my game. How can I prevent this? Some monsters do have it some not. |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 07 Jul 2014 03:00 AM |
| a script that changes HP to the MaxHP |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2014 03:00 AM |
| Could you show us some of the script?. |
|
|
| Report Abuse |
|
|
RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
|
| 07 Jul 2014 03:05 AM |
It's actually the humanoid, When I enter like 200 max HP and 200 HP then the next time I open studio it's 100 HP and 200 max HP. |
|
|
| Report Abuse |
|
|
RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
| |
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 07 Jul 2014 06:42 AM |
100/200 = 3/4 good to know
use a script to set the Health to MaxHealth when you spawn a monster. |
|
|
| Report Abuse |
|
|
DEVMAC101
|
  |
| Joined: 01 May 2013 |
| Total Posts: 856 |
|
|
| 07 Jul 2014 06:51 AM |
| I don't really understand due to lack of code, add the code or add a script that maxes out the health. |
|
|
| Report Abuse |
|
|
RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
|
| 07 Jul 2014 06:53 AM |
@Trioxide It was an example xDD I don't really have a maxHP script but just the humanoid. |
|
|
| Report Abuse |
|
|
RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
|
| 10 Jul 2014 01:26 PM |
The max HP script works, but they still look like they have 3/4 - 1/2 health. It looks so ugly but it does work now, what wrong with the humanoid's HP keep changing? |
|
|
| Report Abuse |
|
|
RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
| |
|
RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
|
| 11 Jul 2014 04:32 PM |
^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ |
|
|
| Report Abuse |
|
|
LuaSlayer
|
  |
| Joined: 09 Jul 2014 |
| Total Posts: 38 |
|
|
| 11 Jul 2014 04:34 PM |
hum = script.Parent:findFirstChild("Enemy") --Humanoid or whatever
repeat wait() until hum hum.Health = hum.MaxHealth script:Destroy() |
|
|
| Report Abuse |
|
|
RealistK
|
  |
| Joined: 20 Feb 2011 |
| Total Posts: 3489 |
|
| |
|