wait() is deprecated, and it doesn’t guarantee that it’ll run on the next frame after the given delay (or the frame directly after if there is none given). task.wait() will guarantee that it WILL run on the next frame after the delay, because it uses the Task Scheduler. The task library also comes with a few other cool things, but task.wait() is (in my opinion) the best.
With show deprecated unticked, wait still shows. Wait also does not have any yellow underline in the script editor. I guess they just forgot to change those?
It’s so widely used they might (keyword, might) just be giving people time to figure out on their own, and then eventually giving out a notice, then updating it in all occurrences.
Let’s stop bumping this now though.