|
| 02 Jun 2013 06:31 PM |
| I need a script that only lets weapons' ammo in, but not players. Can you help me? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 02 Jun 2013 06:51 PM |
I'm not a good scripter, but here's my guess: (LOL is the name of my part)
if humanoid = nil then game.Workspace.LOL.CanCollide = false And some other stuff after that. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 06:51 PM |
| define what you mean by "weapons' ammo... not players |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 06:52 PM |
| Like, superballs, slingshot pellets and stuff. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2013 06:57 PM |
if humanoid = nil then game.Workspace.LOL.CanCollide = false else game.Workspace.LOL.CanCollide = true ---Right? |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 02 Jun 2013 07:19 PM |
script.Parent.Touched:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then game.Workspace.LOL.CanCollide = false else game.Workspace.LOL.CanCollide = true end) |
|
|
| Report Abuse |
|
|