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 » Game Design
Home Search
 

Re: Getting the number of specific models in Workspace

Previous Thread :: Next Thread 
speedydude900 is not online. speedydude900
Joined: 02 Feb 2010
Total Posts: 788
25 Nov 2014 07:29 PM
How would you do that?

B = game.Workspace:GetChildren()
for i = 1, #B do
(what goes after?)
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
25 Nov 2014 07:30 PM
B = game.Workspace:GetChildren()
for i = 1, #B do
while i do
print(i)
end
end
Report Abuse
speedydude900 is not online. speedydude900
Joined: 02 Feb 2010
Total Posts: 788
25 Nov 2014 07:53 PM
Thanks.
Report Abuse
speedydude900 is not online. speedydude900
Joined: 02 Feb 2010
Total Posts: 788
25 Nov 2014 07:56 PM
That just makes a bunch of ones in the output. I meant ONE number. So if there was 27 models in workspace it'd put 27. Not 27 ones.
Report Abuse
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
25 Nov 2014 08:26 PM
i=i+1
end
print(i)
Report Abuse
speedydude900 is not online. speedydude900
Joined: 02 Feb 2010
Total Posts: 788
25 Nov 2014 10:06 PM
Not working :(
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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