Felix2231
|
  |
| Joined: 29 Aug 2010 |
| Total Posts: 528 |
|
|
| 17 Sep 2011 07:36 PM |
| How do I make a zombie's arm so that if it touches any part except the Baseplate then that part disappears? |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2011 07:48 PM |
script.Parent.Touched:connect(function(h) if h ~= nil then if h.Name ~= "Base" and h.Name ~= script.Parent.Name then h:remove() end end end)
put that in a script in the arm of zombie |
|
|
| Report Abuse |
|
|
GoldenUrg
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 6428 |
|
|
| 17 Sep 2011 07:52 PM |
Create a script with Touched event in the arm that checks for Base and removes otherwise.
There's plenty of examples in Free Model Zombies.
|
|
|
| Report Abuse |
|
|
|
| 17 Sep 2011 07:54 PM |
script.Parent.Touched:connect(function(h) if h["Humanoid"] then h:Remove() end end) |
|
|
| Report Abuse |
|
|