task.wait vs wait roblox
task.wait vs wait roblox

Task.wait Vs Wait Roblox

Should I use or - Developer Forum |

The differences with and are: can sometimes delay when it resumes the thread because of performance concerns, which is 

- Scripting Help :

the thing that nobody started learning about until recently. It is more efficient and slightly faster than ______…

- Scripting Support - Developer Forum |

is an improved version of as it schedules the current thread to be resumed after some time has elapsed without throttling.

Is or better? What are the pros and cons

automatically for the next frame update, while uses a timer to for a specified amount of time or until a specific 

- Scripting Support - Developer Forum |

also returns a second value which describes the time that it finished yielding (basically os.time()). An example of this can be found in 

or - Scripting Support - Developer Forum |

Incorrect. is not deprecated but rather is classified as legacy. Depreacated is where it is not supported and over time will very likely 

Difference between and - Developer Forum |

is the new and improved version of The difference between them is how it pauses the program, and wont throttle your code. 7 

in loops - Developer Forum |

Most likely minimal effect, the upgrade of is that it is more precise and doesn't occasionally yield for much longer then its 

What is the Real Difference between and - Scripting

it will be minimal (< 1/30 of a second) (which has been known to increase into the several seconds, if many things are using it).

While do runservice renderstepped - Scripting Support

will yield the code for a minimum of two frames. On the other hand, , , , and Stepped: 


Task.wait Vs Wait Roblox