|
| 08 Mar 2012 02:25 PM |
script.Parent.Humanoid.Touched:connect(function () a = game.Lighting.Zombie1:clone() a.Parent = game.Workspace a:MakeJoints() wait(300) end)
Can you help me fix this so that only a player can activate it? |
|
|
| Report Abuse |
|
|
xvgigakid
|
  |
| Joined: 22 Jun 2008 |
| Total Posts: 4407 |
|
|
| 08 Mar 2012 02:35 PM |
| Sorry to break this to you but Humanoid does not have a Touched event... |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2012 02:37 PM |
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then a = game.Lighting.Zombie1:Clone().Parent = game.Workspace a:MakeJoints() wait(300) end end)
† KMXD † |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2012 02:38 PM |
Oops.
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local a = game.Lighting.Zombie1:Clone() a.Parent = game.Workspace a:MakeJoints() wait(300) end end)
† KMXD † |
|
|
| Report Abuse |
|
|
| |
|