|
| 08 Oct 2011 06:43 PM |
| I am working on a script that is supposed to detect ANY thing named "Humanoid" , not the Object of it. Cause I want the random group of player(s) to lose a bit of HP to it's class. I have AI in the game that will be changed of it's name. Anyone reccomend a script part to it to find who? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 08 Oct 2011 06:45 PM |
for i,c in pairs(workspace:GetChildren()) do if c:IsA("Humanoid") then -- end end
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 08 Oct 2011 06:45 PM |
not object?
for i,c in pairs(workspace:GetChildren()) do if c.Name=="Humanoid" then -- end end
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|