> For the complete documentation index, see [llms.txt](https://pretender.gitbook.io/beginners-scripting-guide-beta/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pretender.gitbook.io/beginners-scripting-guide-beta/unfinished-and-in-progress/basic-libraries.md).

# Basic libraries

✏ Beginners Scripting Guide ✏

In this section, we will be discuss about libraries. Libraries are utils that contain functions that can be use to manipulate built-in in Roblox. Libraries contain **task**, **coroutine**, **math**, **table,** and much more. Today, we will only learn about **task**, **coroutine**, **math**, and **table** since they are the basics.

### TASK LIBRARY FUNCTIONS

In the task library, the library include **task.wait()**, **task.spawn()**, **task.cancel()**, and **task.delay().**

* task.wait() will yield the code with the given duration in second.
* task.cancel() will stop the given thread from working.
* task.delay() will yield the code with given duration and also run callback after callback ended.
* task.spawn() task.spawn can be use to trigger the code with out effect the code below.
