No. Definitively not, task.wait is definitively better.
The differences with wait and task.wait are:
-
wait() can sometimes delay when it resumes the thread because of performance concerns, which is actually bad because you will rarely have those because of it
-
task.wait() updates 2x faster than wait(), therefore more accurate
Also:
Just note that task.wait, just like wait is still a code smell, usually indicates a bigger structural problem with your code.