Chapter 3: Introduction to Roblox Lua
The Roblox Lua language is a fast, procedural programming language adapted from Lua. Lua was originally created in 1993 due to software trade barriers in Brazil, which prevented many from buying specialized software from outside the country. Because of this, the language was designed to be highly customizable and C-based so that programmers could make their own implementations using Lua's C API.
The goal of this chapter is to give you the knowledge you need to make your first programs in Roblox Lua so that you're ready to become a fully proficient programmer. No prior programming experience is assumed, so we will start by covering the concept of variables and other universal programming constructs. Then, within a few chapters, you will be able to create full games, of your own design, on Roblox.
In this chapter, we're going to cover the following main topics:
- Creating variables and conditionals
- Declaring and using...