Stub
This article is a stub. You can help the Roblox Wiki by expanding it.
Tutorial page
This article is an easy tutorial.
All tutorials · Scripting tutorials
What is data?[]
A brief definition would be:
The quantities, characters, or symbols on which operations are performed by a computer.
When I talk about data in this tutorial, I mean the stuff that you mess around with to create new stuff. For example, in the following code 0 is the data.
print(0)
All Data Types[]
Here is a list of all the data types in lua and RBX.lua:
Data types | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic Lua types | |||||||||||||||||||||||||||
Roblox types |
| ||||||||||||||||||||||||||
API reference only |
When is data used in RBX.lua?[]
Data is used in RBX.lua when you make a new object, you return values from a function, or you do math, etc..
Every operation you do within RBX.lua will most likely revolve around data, so remember the basic types!