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: Need help (Quick Question)

Previous Thread :: Next Thread 
sumox567 is not online. sumox567
Joined: 22 Apr 2008
Total Posts: 11191
07 May 2013 07:01 PM
So my tool script needs to react when it hits the torso, legs, arms and head of the humanoid

if (hit.Name == "Torso") then

How do change this to have it react to hitting all those parts?
Report Abuse
sumox567 is not online. sumox567
Joined: 22 Apr 2008
Total Posts: 11191
07 May 2013 07:02 PM
*How do I

Sorry for the typo...
Report Abuse
dave2011 is not online. dave2011
Joined: 02 Oct 2010
Total Posts: 10581
07 May 2013 07:07 PM
all of them at once? that is hard to make happen in game but if you want it like that do
if bla and bla and bla then
end
to make it hit all of those at once (change bla of course)

if you wanted it so if it hit 1 of them the if statement was true then do

if bla or bla or bla the
end
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 May 2013 07:09 PM
Make a table
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