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: How do I loop a script?

Previous Thread :: Next Thread 
BlueHound is not online. BlueHound
Joined: 30 Jan 2012
Total Posts: 1971
19 Apr 2012 07:10 PM
I'm confused on how you loop them?
Report Abuse
iPremiumZ is not online. iPremiumZ
Joined: 23 Jan 2012
Total Posts: 6834
19 Apr 2012 07:11 PM
while true do
-- code
wait()
end

Report Abuse
smfv3 is not online. smfv3
Joined: 04 Nov 2008
Total Posts: 370
19 Apr 2012 07:30 PM
I'm posting on here so I can remember this.
Report Abuse
WhoBloxedWho is not online. WhoBloxedWho
Joined: 25 Mar 2009
Total Posts: 4611
19 Apr 2012 07:31 PM
theres a few ways, iPrem told one.


While wait() do
--code
end

will run forever, or until you break it using 'break'


for i = 1,100 do
wait()
--code
end

will run the code 100 times, then end the loop

repeat
wait()
--code
until -- argument

will run the code until an argument is met, then it will stop.

Always have a wait() in the loop.


Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
19 Apr 2012 07:32 PM
How does someone who joined january 30th 2012 own a PST Fedora?
Report Abuse
robocorp is not online. robocorp
Joined: 25 Apr 2010
Total Posts: 804
19 Apr 2012 07:38 PM
@pat
buy robux?


@OP always refer to the wiki before asking here.
Report Abuse
iPremiumZ is not online. iPremiumZ
Joined: 23 Jan 2012
Total Posts: 6834
19 Apr 2012 07:45 PM
@ pat, Transfer most likely, he is LMaD'er. c:
Report Abuse
Distriction is not online. Distriction
Joined: 25 Mar 2012
Total Posts: 655
19 Apr 2012 07:48 PM
I joined march and have over 50k. My main is rich. I risked my hats being sniped. It was a coolstorybro.

Another command you can use is fire() if you can figure it out.

Define fire() then use it again.
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
19 Apr 2012 07:51 PM
Without transfering.
Report Abuse
BlueHound is not online. BlueHound
Joined: 30 Jan 2012
Total Posts: 1971
20 Apr 2012 06:10 PM
I transferred robux from my other main. Sniped the PSTF for 50k.
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
20 Apr 2012 06:18 PM
Nice
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