Why is task not showing up?

See:

wait is a function that relies on legacy 30hz pipelines and is relatively inaccurate. For heavy games it can end up waiting more time than what you specify because it needs to yield the thread for the given time as well as find an open slot to be resumed in the task scheduler.

task.wait uses Heartbeat frequency meaning more accurate waiting and it doesn’t suffer from over-waiting. Being aware of what tasks are being executed on every frame will be important going forward especially as Roblox switches to deferred programming and immediate gets removed.

I get the saying of “if it’s not broken don’t fix it” but there there’s a time and place for that saying and this isn’t one of those times. Don’t use that saying to justify complacency and bad habits with your code.

3 Likes