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 would do I wait?

Previous Thread :: Next Thread 
masterCameron101 is not online. masterCameron101
Joined: 28 Mar 2010
Total Posts: 1377
26 May 2014 12:02 PM
How do I wait *EXACTLY* 1 second

~masterCameron101, advanced Lua programmer, certified in Photoshop. Have I helped you? Don8~
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
26 May 2014 12:03 PM
You can't.
Report Abuse
masterCameron101 is not online. masterCameron101
Joined: 28 Mar 2010
Total Posts: 1377
26 May 2014 12:07 PM
Okay, is there a anything else I could do to get close enough?

~masterCameron101, advanced Lua programmer, certified in Photoshop. Have I helped you? Don8~
Report Abuse
getkoed is not online. getkoed
Joined: 18 Feb 2010
Total Posts: 2298
26 May 2014 12:09 PM
idk maybe compare ticks while repeating wait() and stop waiting if the difference is 1

but I don't think that'd be any better than wait(1)
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
26 May 2014 12:09 PM
print(wait(1))

--> 1.0073783979802

seems pretty close to 1 to me.
Report Abuse
samy22 is not online. samy22
Joined: 28 Sep 2008
Total Posts: 2181
26 May 2014 12:12 PM
To get as close as possible, in the command bar(and use output)


keep doing
print(wait(.991)) --add numbers and remove numbers until you get as close to 1 as possible, this depends on lag btw
Report Abuse
samy22 is not online. samy22
Joined: 28 Sep 2008
Total Posts: 2181
26 May 2014 12:14 PM
nvm what i said is useless and will barely help seen as it fluctuates a lot
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
26 May 2014 12:14 PM
ya im glad you pointed that out
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