generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Scripting Part needed.

Previous Thread :: Next Thread 
Soulwert1337 is not online. Soulwert1337
Joined: 13 Dec 2008
Total Posts: 4814
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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image