Partial usage of non-task library functions on the Roblox Client

I guess this is not really a bug, but I have noticed through the Roblox Client Tracker that a lot of code written does not use task library functions like task.wait, task.spawn, or task.delay, but instead the globals wait, spawn, and delay, which should not be used anymore (deprecated).

Expected behavior

The task library should be fully utilized.

2 Likes

At the very least, specify which scripts use these deprecated libraries

1 Like

There are way too much to list. At least 40+. I think they can just do a find all/replace all and it’d be pretty quick to fix.

The tasks library methods you mentioned don’t do the exact same as the classic globals wait, spawn, delay

Sure, but in this situation, that is not a problem. Only situation where it would be a problem is if they are using the return of wait, and in that case they can either keep it or find an alternative which there are.

wait also has a longer minimum waiting time than task.wait, this could cause undesired behaviour; which, while unlikely, it could be detrimental to the platform.

1 Like

I feel like they have better things to do than updating old code. If it still works then its not really a concern

That would be a valid argument if it weren’t so easy to fix. In this scenario, it is as simple as just doing a find all/replace all in the Client codebase, and everything would be solved. Shouldn’t take more than two seconds.