Beginners Scripting Guide (BETA)
  • Getting Started
  • Basic Data Types
  • Variables
  • Basic global functions
  • Number Arithmetic & Compounds Assignment
  • If statement
  • Function
  • Table & Dictionary
  • Loops
  • Creating An Object
  • Understanding Client & Server
  • RemoteEvent
  • Unfinished & In-progress
    • Methods
    • RemoteFunction
    • Basic libraries
    • Basic Services
    • Basic of Vector3 and CFrame
    • Basic built-in events
Powered by GitBook
On this page
  1. Unfinished & In-progress

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.

PreviousRemoteFunctionNextBasic Services

Last updated 11 months ago