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
 

I have a question

Previous Thread :: Next Thread 
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
14 Jan 2014 08:08 PM
I don't quite understand what this means:
for i = 1, 10 do
or something like that. can u help me understand it and when it is used?
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
14 Jan 2014 08:13 PM
bump
Report Abuse
shawnyg is not online. shawnyg
Joined: 21 Apr 2011
Total Posts: 1428
14 Jan 2014 08:19 PM
10 is the number of times the loop will repeat. I don't really know how to explain it.

~Hope I helped, if you need a script, PM me first then buy this when I tell you to: http://www.roblox.com/My-Script-Shirt-item?id=118961994~ ~Glory to CAT!~ ~CAT General Shawnyg~
Report Abuse
secretidagent is online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
14 Jan 2014 08:27 PM
for i=1, 10 end
print(i)
end

10 is the number of times it repeats
print(i) prints what loop it is currently doing
i=1 is the number it goes up by. (i=2 would be 5 repeats)
Report Abuse
secretidagent is online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
14 Jan 2014 08:28 PM
*

for i=1, 10 do
print(i)
end

10 is the number of times it repeats
print(i) prints what loop it is currently doing
i=1 is the number it goes up by. (i=2 would be 5 repeats)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Jan 2014 08:28 PM
No, i = 2 is where it starts.
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
14 Jan 2014 08:30 PM
ok
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