the task library offers better methods for spawning and waiting
the global spawn function has a small delay before executing on the task schedular
task.spawn executes immediately on the task schedular. but stops executing after yielding
the global wait function runs on 30hz with a limit meaning It can scale with lag
task.wait runs on heartbeats variable rate (normally 60hz)
task.wait() with no arguments is equal to Runservice.Heartbeat:Wait()
I basically summed up the benefits. You can read more about the benefits of the task library here
the task library offers better methods for spawning and waiting
the global spawn function has a small delay before executing on the task schedular task.spawn executes immediately on the task schedular. but stops executing after yielding
the global wait function runs on 30hz with a limit meaning It can scale with lag task.wait runs on heartbeats variable rate (normally 60hz) task.wait() with no arguments is equal to Runservice.Heartbeat:Wait()
I basically summed up the benefits. You can read more about the benefits of the task library here