IRyan70
|
  |
| Joined: 08 Jun 2011 |
| Total Posts: 484 |
|
|
| 18 Jan 2016 06:13 PM |
Im creating a survival game, and im trying to setup my enviroment to interactable with the players. So in this case, i have a model of a tree. I have a humanoid in the model, and its displaying fine(i wont have it displaying later but testing for now). Im just looking for a way to "cut it" or hit it down. I dont want only one piece of the tree to be kill-able. So is there a way to have the tool hit the model and decrease its health?
Sorry if this is confusing... Any help is appreciated thanks! |
|
|
| Report Abuse |
|
|
IRyan70
|
  |
| Joined: 08 Jun 2011 |
| Total Posts: 484 |
|
| |
|
|
| 18 Jan 2016 06:22 PM |
| Any normal tool should be doing damage. |
|
|
| Report Abuse |
|
|
IRyan70
|
  |
| Joined: 08 Jun 2011 |
| Total Posts: 484 |
|
|
| 18 Jan 2016 06:27 PM |
| Ive been testing it for a bit now, and i figured.. Hey why not just make the tree like a normal person would be, except its anchored and not moving. So i named the Body parts and i guess Head is all i need. So i made the bottom part of the tree "Head". And for some reason the humanoid keeps shooting its Health to 0. I have no idea why? |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 06:28 PM |
Although using robloxs glitchy humanoids is not something I would suggest for this You have to make sure the head is attached to the torso in order for it to live. |
|
|
| Report Abuse |
|
|
IRyan70
|
  |
| Joined: 08 Jun 2011 |
| Total Posts: 484 |
|
|
| 18 Jan 2016 06:31 PM |
| Okay, So instead of humanoids how can i give the entire tree "life", and allow all parts of the tree to share the same amount of health.. What i mean by this is if someone is hitting it with a sword from the bottom, then the top leaves of the tree will also be damaged, like sharing their health. Any ideas? |
|
|
| Report Abuse |
|
|
Phenite
|
  |
| Joined: 16 May 2010 |
| Total Posts: 158 |
|
|
| 18 Jan 2016 06:44 PM |
Number/Int Values and decrease/increase. You can script auto-regeneration if you want. (just make max health)
|
|
|
| Report Abuse |
|
|