5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
|
| 12 Aug 2012 10:16 AM |
One of them is a working nuke and the other one is a lava brick!
Lava script:
local lava = script.Parent local death = lava.Parent:FindFirstChild("Humanoid")
function onTouch(lava) death if(death~=nil) then death.Health = 0 else return nil end end lava.Touched:connect(onTouch) |
|
|
| Report Abuse |
|
|
5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
|
| 12 Aug 2012 10:17 AM |
| Your can find the working nuke in my models, all it does is expand using Vector3,new |
|
|
| Report Abuse |
|
|
5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
| |
|
5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
| |
|
|
| 12 Aug 2012 10:23 AM |
| No one cares. Try doing that in x86-64 |
|
|
| Report Abuse |
|
|
5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
| |
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
| |
|
5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
|
| 12 Aug 2012 10:36 AM |
| Why becvause i just scripted? |
|
|
| Report Abuse |
|
|
Rynar
|
  |
| Joined: 11 Oct 2011 |
| Total Posts: 2772 |
|
|
| 12 Aug 2012 11:09 AM |
| Hypocrites, tell something nice about his scripting instead? |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Aug 2012 11:33 AM |
| This forum is for advance scripting discussion. |
|
|
| Report Abuse |
|
|
5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
|
| 12 Aug 2012 11:39 AM |
| last time I checked this forum said "scripters" not advanced.. |
|
|
| Report Abuse |
|
|
Luc599345
|
  |
| Joined: 25 Jul 2008 |
| Total Posts: 1169 |
|
|
| 12 Aug 2012 11:41 AM |
@5000 Learn to read descriptions ._. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 12 Aug 2012 11:43 AM |
| stravant said that this forum isn't meant for advanced discussion anymore. |
|
|
| Report Abuse |
|
|
Luc599345
|
  |
| Joined: 25 Jul 2008 |
| Total Posts: 1169 |
|
| |
|
|
| 12 Aug 2012 11:44 AM |
@Luc
They took out the word 'advanced' in the description a while ago. We are unfortunately no longer an advanced forum. |
|
|
| Report Abuse |
|
|
5000fish
|
  |
| Joined: 12 Oct 2011 |
| Total Posts: 2002 |
|
|
| 12 Aug 2012 11:45 AM |
| well why dont you Pm a forum moderate a have EVERYTHING go your way Madonna,... |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2012 12:04 PM |
??
I remember you last time you said you can script better than us while you just finished your first two scripts...
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 12 Aug 2012 12:06 PM |
| @Candy: And one won't even work (correctly). |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2012 12:10 PM |
@droid;
local lava = script.Parent local death = lava.Parent:FindFirstChild("Humanoid")
function onTouch(lava) death if(death~=nil) then death.Health = 0 else return nil end end lava.Touched:connect(onTouch)
I could tell that the lava script won't work correctly, since the variable death would normally be set to workspace.Humanoid... lol
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 12 Aug 2012 12:11 PM |
| Yeah that's what I meant. And can you put just "death" on it's own line (under the function) or would that cause an error? (Idk as I've never even thought about if before O.o) |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2012 12:14 PM |
You can put it under the function, but the parenting is wrong, since it isn't nomal to have a lone humanoid object under workspace. ;3
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 12 Aug 2012 12:19 PM |
Wat
Do you people even know how Lua works? o.O |
|
|
| Report Abuse |
|
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
| |
|