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 much code can i put in without a wait()?

Previous Thread :: Next Thread 
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
28 Apr 2014 06:50 PM
I currently have about 600 lines of code without a single wait, most of which are functions and events, but a good 200 lines aren't, and a lot are for loops for a table.

My question is how many more lines can I add without crashing the script or client? It currently takes 7 seconds for my entire script to load even without a single wait()...
Report Abuse
Prescience is not online. Prescience
Joined: 26 Apr 2014
Total Posts: 188
28 Apr 2014 06:51 PM
none
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Apr 2014 06:51 PM
wat evil things are you putting together
Report Abuse
Prescience is not online. Prescience
Joined: 26 Apr 2014
Total Posts: 188
28 Apr 2014 06:51 PM
You dont need any 'wait()' in any script for it not to crash unless your using numerical loops- which need wait's to increment the loop.
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
28 Apr 2014 06:52 PM
^Coroutines doe,
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
28 Apr 2014 06:52 PM
@Pre Im sure thats not how for loops work...

@Sensei an entire pseudo-iPod
Report Abuse
Prescience is not online. Prescience
Joined: 26 Apr 2014
Total Posts: 188
28 Apr 2014 06:53 PM
Goulstem, those are not required either. If you already knew this (not saying you do) the please do not add on to the forum if its not needed- that's considered spam, and unjustified 'bumping'
Report Abuse
Prescience is not online. Prescience
Joined: 26 Apr 2014
Total Posts: 188
28 Apr 2014 06:56 PM
@Pre Im sure thats not how for loops work...

I said numerical loops. Which does not necessarily mean 'for' loops-

i would also like to add conditional-loops must have a 'wait()' of some sort.

also yes this is how 'for' loops work. This is how any loop works: if you try to loop something without the program knowing when to stop, or start the next loop it will try to do it all at once and crash unless the loop is preceded by an 'ending declaration' in which if the loop ran forever it would most certainty crash, but if only 20 loops and no 'wait()' your computer would likely be able to handle 20 loops at once.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
28 Apr 2014 06:59 PM
Thought you meant for loops exclusively. Ya its nothing crazy, maybe in a few days 1000 loops, but until then...
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Apr 2014 07:00 PM
waz you are the best girl scripter you know that

you go girl

if you are a girl, sometimes i dont think so
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
28 Apr 2014 07:05 PM
ty @Sensei.
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