adamjo
|
  |
| Joined: 02 Mar 2008 |
| Total Posts: 147 |
|
|
| 17 Nov 2013 11:13 AM |
Its really old, I suggest you try not to edit it.
function onTouch(part local humanoid = part.Parent:FindFirstChild("Humanoid") if (humanoid ~= nil)then humanoid.Health = 0 end end script.Parent(Touched.connect(onTouch) |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2013 11:14 AM |
| Learn to script, because that would not even work. |
|
|
| Report Abuse |
|
|
adamjo
|
  |
| Joined: 02 Mar 2008 |
| Total Posts: 147 |
|
|
| 17 Nov 2013 11:16 AM |
| It works actually. A place where it does is at http://www.roblox.com/Obstacle-Course-Testing-place?id=128371985 |
|
|
| Report Abuse |
|
|
adamjo
|
  |
| Joined: 02 Mar 2008 |
| Total Posts: 147 |
|
|
| 17 Nov 2013 11:17 AM |
Oh, whoops, nevermind, that was from the brick that doesn't work, here is the correct one with the parenthesis.
function onTouch(part) local humanoid = part.Parent:FindFirstChild("Humanoid") if (humanoid ~= nil)then humanoid.Health = 0 end end script.Parent.Touched:connect(onTouch) |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 17 Nov 2013 11:41 AM |
1)who cares 2)freemodel 3)inneficent |
|
|
| Report Abuse |
|
|
UgOsMiLy
|
  |
| Joined: 15 Sep 2009 |
| Total Posts: 2095 |
|
|
| 17 Nov 2013 11:46 AM |
1.) its for people who don't know how to script 2.)Just because you see it everywhere it doesn't mean it is a free model, and it is only the basic one.
3) Not really, he is only helping
Heh, funny how you joined roblox on my birthday. |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2013 12:08 PM |
@ugo This post was totally useless.
|
|
|
| Report Abuse |
|
|
adamjo
|
  |
| Joined: 02 Mar 2008 |
| Total Posts: 147 |
|
|
| 17 Nov 2013 01:39 PM |
| Not really, it was to help people. :| |
|
|
| Report Abuse |
|
|
Ictis
|
  |
| Joined: 01 Sep 2011 |
| Total Posts: 1216 |
|
|
| 17 Nov 2013 01:40 PM |
If they needed help with something they would posted something akin to: "How do you make a lava brick?"
The tutorials belong on the wiki, and this isn't even that. This is just a snippet of code. |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2013 01:41 PM |
"I suggest you try not to edit it." Best way to learn is with trial and error. "Not really, it was to help people. :|" >Inefficient >Not explaining >Billions of free model kill blocks if it`s not for learning |
|
|
| Report Abuse |
|
|