|
| 08 Aug 2012 06:37 AM |
You know those car HP scripts where it wont show the HP, but shoot it enough and you'll take it down? Yeah well i have no idea on A. How to find it. and B. How it works. Can someone direct me to one so i can figure out how to use it? |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 06:51 AM |
| I don't even know that "Car damage script". |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2012 06:54 AM |
| Ok, say like in a war group base you shoot at a car, you cannot see the health, but eventually the car will go on fire and then kaboom it explodes. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 06:59 AM |
| You can create health via script and make it explode, when the health is at 0. Just never create a Humanoid and it should work. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 07:01 AM |
| Or you use a NumberValue or IntValue. And make a script check if the value is at 0. The weapons, with which you shot at must also be editted. When the shot hits an object, it must check if either it hits a car or a person and than runs the damage script. Not that hard actually. |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2012 07:11 AM |
| I tried that number value thing, it went below the set explosion rate and din't explode T_T |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 07:14 AM |
| Because you didn't add an Explosion to the car's parts. |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2012 07:16 AM |
| There was a explosion script, but i just thought putting it into the model would work simple :| |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 07:18 AM |
Something like this:
while wait() do if IntValue.Value <= 0 then Instance.new("Explosion", Carpart) end end |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2012 07:23 AM |
It was a little different :| Maybe you could show em the one your talking about? |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 07:24 AM |
| Wut? I don't even have created a gun or car, just edit the rest on your own. If you don't know how, then I can't help you. |
|
|
| Report Abuse |
|
|
| |
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 07:33 AM |
| I mean for this script here. I could actually edit all your stuff that it would work but then I would need all the information (scripts, models, etc.) which is necessary or the model and if you give me the model, then I'll propably not even take a look at it. I can't check it during my worktime. |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
|
| 08 Aug 2012 07:34 AM |
| Besides, OP, u ment this as a request.... |
|
|
| Report Abuse |
|
|
| |
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 08 Aug 2012 07:41 AM |
| Oh, I didn't think this of being a request. I actually don't create that much scripts. Sometimes I do, sometimes not. |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
|
| 11 Feb 2013 03:26 PM |
Lets be honest.Younever do.
Lazy narb <----------> PGer. |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2013 04:42 AM |
Heh, just saw how this subject was brought up again, but I'm doing alright now anyway. Besides, why did you post around 6 months later?
~King of Avalon~ |
|
|
| Report Abuse |
|
|