generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Building Helpers
Home Search
 

Re: ANNOYING GLITCH

Previous Thread :: Next Thread 
Superwarrior360 is not online. Superwarrior360
Joined: 21 Feb 2013
Total Posts: 2703
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
StormTamer is not online. StormTamer
Joined: 11 Jul 2011
Total Posts: 1137
24 Sep 2014 09:14 PM
Did you change both the MaxHealth and Health values?

i put the fun in funeral
Report Abuse
Superwarrior360 is not online. Superwarrior360
Joined: 21 Feb 2013
Total Posts: 2703
25 Sep 2014 02:32 PM
yes.
Report Abuse
StormTamer is not online. StormTamer
Joined: 11 Jul 2011
Total Posts: 1137
25 Sep 2014 03:24 PM
What did you set the health to and how are you testing the health?
Report Abuse
Victoria0001 is not online. Victoria0001
Joined: 27 Jun 2010
Total Posts: 781
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
Superwarrior360 is not online. Superwarrior360
Joined: 21 Feb 2013
Total Posts: 2703
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
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
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
Victoria0001 is not online. Victoria0001
Joined: 27 Jun 2010
Total Posts: 781
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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image