#Difference between wait() and task.wait()?
15 messages · Page 1 of 1 (latest)
TY
oh ok
The key difference between the two are:
Precision
task.wait()is more precise and accurate thanwait(). It uses a newer timing system that ensures delays closer to the requested time, whereaswait()can be less consistent, especially under high server load or low framerates.
Performance
-
task.wait()is optimized for performance, making it more efficent in situations where you need reliable time delays, particularly in complex or resource heavy scripts. -
wait(), being older and also deprecated method, can cause minor performance issues when used frequently or in a large number of scripts.
Time Delay
-
Both functions pause the script for a minimum of 1/60th of a second but
task.wait()handles smaller, more accurate intervals better. -
wait()is often slightly less reliable for very short or precise delays.
After this long ass yapping session, the summary is that it's recommended to use task.wait() as it's part of the improved (new) task library and offers better performance and precision.
THANK YOU SO MUCH
np
** You are now Level 2! **
thanks man
one is better one is worse