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
 

How do I make a scrip repeat itself?

Previous Thread :: Next Thread 
OzzyBlox is not online. OzzyBlox
Joined: 04 Nov 2009
Total Posts: 14166
21 Jan 2012 04:44 PM
Like make a script be repetitive.
Report Abuse
Riderj is not online. Riderj
Joined: 15 Aug 2011
Total Posts: 1534
21 Jan 2012 04:45 PM
Depends on what you want. You can use loops, some of these loops include:

for
repeat
while

Here is a wiki page to help you understand:

http://wiki.roblox.com/index.php/Loops

[~ The key to programming is understanding it, not memorizing it. ~ AgentFireFox]
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
21 Jan 2012 04:45 PM
loops

~Flurite
Report Abuse
Shobobo99 is not online. Shobobo99
Joined: 30 Dec 2008
Total Posts: 5754
21 Jan 2012 04:46 PM
while (condition) do
--content
end

repeat
--content
until (condition)

for i = 1, NumberOfRepetitions do
--content
end
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