Lua Help: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens The titles are already noticeable enough; let's leave formatting to the TitledBox template. |
>JulienDethurens No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ {{clear floats}}</noinclude> | <noinclude>__NOTOC__ {{clear floats}}</noinclude> | ||
{{TitledBox/start|heading=<noinclude>{{CatUp|Main Page}}</noinclude>{{CatItem|luaCode.png|Lua Help|Roblox Lua|Making your maps do crazy things}}}} | {{TitledBox/start|heading=<noinclude>{{CatUp|Main Page}}</noinclude>{{CatItem|luaCode.png|Lua Help|Roblox Lua|Making your maps do crazy things}}}} | ||
[http://www.lua.org Lua] ('''not''' "LUA") is a simple programming language that is used in Roblox to add in customized content, like cars that drive, new weapons, etc. | [http://www.lua.org Lua] ('''not''' "LUA"[http://www.lua.org/about.html#name]) is a simple programming language that is used in Roblox to add in customized content, like cars that drive, new weapons, etc. | ||
This <noinclude>page</noinclude><includeonly>section</includeonly> provides tutorials to help users to learn Lua. | This <noinclude>page</noinclude><includeonly>section</includeonly> provides tutorials to help users to learn Lua. | ||
Line 17: | Line 17: | ||
{{CatList|Variables|Variables|}} | {{CatList|Variables|Variables|}} | ||
{{CatList|Conditional statements|Conditional Statements|Making scripts do different things in different situations.}} | {{CatList|Conditional statements|Conditional Statements|Making scripts do different things in different situations.}} | ||
{{CatList|Loops|Loops|Making a piece of code run | {{CatList|Loops|Loops|Making a piece of code run multiple times.}} | ||
{{CatList|Functions|Functions|}} | {{CatList|Functions|Functions|}} | ||
{{CatList|Tables|Tables|Storing multiple objects in one.}} | {{CatList|Tables|Tables|Storing multiple objects in one.}} |
Revision as of 23:52, 22 February 2012

Making your maps do crazy things
Lua (not "LUA"[1]) is a simple programming language that is used in Roblox to add in customized content, like cars that drive, new weapons, etc.
This page provides tutorials to help users to learn Lua.
There are often multiple tutorials on the same subject, so if you don't understand something in one of them, try another!
If you still don't understand something, you can ask at Scripting Helpers. Note that you're more likely to get an answer if you ask a specific question than something general, and that if you have a problem with a piece of code, posting the code really helps people to find what the problem is. Posts just asking "How do I script?" or "Make me this" are usually ignored.