henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:36 PM |
By my script to get a death script wich does this!
human = script.Parent.Humanoid tool = script.Parent.Pistol
function Die() if tool ~= nil then tool:remove() end wait(4.5) parts = script.Parent:children() for i = 1,5 do for i = 1,#parts do if parts[i].className == "Part" and parts[i].Name ~= "Part" then parts[i].Transparency = 1 end end wait(0.05) for i = 1,#parts do if parts[i].className == "Part" and parts[i].Name ~= "Part" then parts[i].Transparency = 0 end end wait(0.05) end script.Parent:remove() end
human.Died:connect(Die) |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:36 PM |
| I noticed i spelt buy wrong in the top sentance. |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
| |
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
| |
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:40 PM |
| All these veiws no reply's RELPY PLZ |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 12:41 PM |
um,this is random,its not in need of help,so why post it in SCRIPTING HELPERS we help with scripts..u don't just post a random script here and say "its awesome" |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:42 PM |
| It helps people trying to make a death script. They could take an idea of this then try to make their own. |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 12:43 PM |
| Could I use this with an npc in a Rpg? |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:44 PM |
tool = script.Parent.Pistol This is on the 2nd line, change it's name to the name of your tool. |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:45 PM |
| It works on anything, players NPCS etc. |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 12:45 PM |
well I guess,but its pretty simple for a death script function ishedead() if script.Parent.Humanoid.Health<1 then if stop == false then stop = true print "yep hes dead" end while wait(0.1) do ishedead() end |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 12:45 PM |
| I mean,a death script is pretty simple(I do like your script though) |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:46 PM |
| Mine is a little complicated. Your player flickers when you die. Your player is visible then invisible then visible again and it gets faster in time. |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:48 PM |
| The script is in my models. |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 12:48 PM |
ik,but the basic principle behind it is simple I mean dostuff when the guys dead |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:49 PM |
| The prinicpal is simple. But it's just a death script, it can't be too complicated. |
|
|
| Report Abuse |
|
|
henboxboy
|
  |
| Joined: 19 Nov 2010 |
| Total Posts: 550 |
|
|
| 19 Jan 2014 12:50 PM |
| You don't want to hear a big AHhHHHHHHHH I DIED!!!! and a grave is made and the body explodes do you? That would be ludicrous. |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 12:52 PM |
if u could do that,thatd actually be pretty cool,lol but also,would be pretty simple.. |
|
|
| Report Abuse |
|
|