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: Can I have an example of a loop script?

Previous Thread :: Next Thread 
c101 is not online. c101
Joined: 31 Mar 2009
Total Posts: 3255
05 Aug 2010 10:21 PM
:3
Report Abuse
awsomdk is not online. awsomdk
Joined: 28 Apr 2010
Total Posts: 674
05 Aug 2010 10:24 PM
while true do
wait(1)
print(" You will see this every second")
end



go to the wiki it explanes EVERYTHING
Report Abuse
oysi93 is not online. oysi93
Joined: 27 Apr 2008
Total Posts: 12469
05 Aug 2010 10:24 PM
Loop a set amount of times:

for i = 1, 10 do
...
end



Run something while a condition is true:

while CONDITION do
...
end



Repeat something until a condition is true:

repeat
...
until CONDITION
Report Abuse
Blaboblox is not online. Blaboblox
Joined: 12 Sep 2008
Total Posts: 8945
05 Aug 2010 10:48 PM
http://wiki.roblox.com/index.php/Loops
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