What is the Real Difference between task.wait() and wait()

will i just discovered the task.wait() recently and a dont know what is the real difference between task.wait() and the normal wait()

1 Like

wait has some throttling built-in, so if your game is getting very laggy & you attempt to use it, it might yield for longer than the amount of time you requested.

Edit: that said, you should always expect it to yield for longer than the exact time you requested, but with task.wait, it will be minimal (< 1/30 of a second) vs wait (which has been known to increase into the several seconds, if many things are using it).

2 Likes

I believe that task.wait() seconds mininum is around 0.005 while wait() seconds mininum is around .03

I feel like I added an extra decimal place.

2 Likes