Lua Help

From Goodblox Wiki
Jump to navigationJump to search


Lua is a versatile, interpreted programming language with a simple grammar. Because Lua can easily be embedded into applications, it is frequently used in games, such as World of Warcraft, Far Cry and Baldur's Gate.

Lua is used in GoodBlox by users to add in customized content, like cars that drive, new weapons, etc.

See the official Lua website and the Wikipedia article for more information.

Fundamentals

Flowcharts Your first script Loops
Variables Conditional statements Generic for
Basic math String Bool


Flat Scripting

Absolute beginner's guide to scripting How to make text on a brick How to add messages
Intro to Scripting: Make a Dance Floor Explaining Scripts Scripting
Functions Random numbers In-Depth Scripting Guide


More advanced

Built-in functions Intro to Scripting: Make an Invisibility Tool Teleportation
How Do I Make Morphs? How to Make Conveyor Belts Tables
Color Reference How do I make VIP doors? How to Make Ramps