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
 

repeat

Previous Thread :: Next Thread 
Forlapse is not online. Forlapse
Joined: 07 Jan 2014
Total Posts: 122
19 Jan 2014 10:07 PM
a = 0
repeat
a = a + 0.1
until a == 1
print("a equals to 1!")


If the script returns is infinitlty false, as in making a = a + 0, wouldnt that cause a crash because it is repeating so fast infinitly?

Im not sure on the technicallity. So would adding a small wait prevent some sort of lag that could lead to a crash?
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 10:09 PM
a will never be equal to 1. You cannot represent 0.1 in binary. This SHOULD work if you use 0.125, though.

You'll get a game freeze regardless, though, without a wait.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
19 Jan 2014 10:11 PM
Or in this case, use >=

Hi AFF :D Good to see you around. :P
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 10:13 PM
^ I've seen that posted twice. o_O
Deja vu?
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
19 Jan 2014 10:16 PM
I did say hi before, you didn't answer. D: Am I not memorable? T_T
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 10:27 PM
I was busy. Sorry.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
19 Jan 2014 10:29 PM
I bet you don't remember me. :P Wow, 20k posts, I wonder where I would be at if I kept going like I was. xD
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 10:30 PM
Of course I remember you.
You are one of the few people I enjoyed being around.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 10:31 PM
Now the question becomes, do you remember Spellshock2?
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
19 Jan 2014 10:33 PM
Is that so? :P Glad to be reminded like that. *_*

Uhh no, don't think so, I have the (bad) habit of forgetting everyone, sorry? xD
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 10:35 PM
How dare you forget such a glorious person. :(
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
19 Jan 2014 10:37 PM
Sorry? Are you 100% sure I knew them? Who are they anywhere? (Using unisex ... obviously.)
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 10:38 PM
One of the frequents in N2KC's Roll Down the Hill in a Bubble.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
19 Jan 2014 10:51 PM
You lost me, no idea what any of that is...
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
19 Jan 2014 11:21 PM
LIES!
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