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 » Scripters
Home Search
 

Re: Giving a "Model" Life?

Previous Thread :: Next Thread 
IRyan70 is not online. 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 is not online. IRyan70
Joined: 08 Jun 2011
Total Posts: 484
18 Jan 2016 06:19 PM
Bump
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
18 Jan 2016 06:22 PM
Any normal tool should be doing damage.
Report Abuse
IRyan70 is not online. 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
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
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 is not online. 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 is online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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