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: Last question

Previous Thread :: Next Thread 
BRADFITZ66 is not online. BRADFITZ66
Joined: 07 Mar 2010
Total Posts: 1404
21 Feb 2014 10:43 AM
[ Content Deleted ]
Report Abuse
Bokken is not online. Bokken
Joined: 10 Jan 2010
Total Posts: 194
21 Feb 2014 10:47 AM
I gave you the code to do this in your previous post,

for i = 1, #players do
for x = 1, #weapons do
if weapons[x].className == "Tool" then
weapons[x]:clone().Parent = players[i].Backpack
end
end
end

Don't change it, this will work.
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Feb 2014 10:56 AM
Wouldn't it be easier to use an inpairs loop?
Report Abuse
Bokken is not online. Bokken
Joined: 10 Jan 2010
Total Posts: 194
21 Feb 2014 10:56 AM
^ There's no difference, I used a numerical loop because he did in his original example.
Report Abuse
BRADFITZ66 is not online. BRADFITZ66
Joined: 07 Mar 2010
Total Posts: 1404
21 Feb 2014 11:21 AM
[ Content Deleted ]
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