Task Library
Standard Luau task scheduler for defer, delay, spawn, and wait.
task.deferCalls the function later at the next resumption cycle.task.delayScheduled to be called/resumed on the next Heartbeat after the given amount of time in seconds has elapsed.task.spawnThis function is based on the fastSpawn pattern.task.waitYields the current thread until the given duration (in seconds) has elapsed, then resumes the thread on the next Heartbeat step.