task.wait
Yields the current thread until the given duration (in seconds) has elapsed, then resumes the thread on the next Heartbeat step.
wait([duration: number]) -> numberYields the current thread until the given duration (in seconds) has elapsed, then resumes the thread on the next Heartbeat step.
wait([duration: number]) -> number