Table of Contents
Preface
Part 1: Start Programming with Roblox
Chapter 1: Getting Up to Speed with Roblox and Luau Basics
Technical requirements
Understanding Roblox and Luau
Creating an account
Introducing Luau
Understanding and using data types in Luau
Creating a script
Hello, world!
Numbers
Math operations
Combining math operations
String concatenation
Escape characters
Casting data types
Booleans
Logical operators
Introducing and using variables
Lower and upper camel case
Updating variables
Removing magic numbers
Introducing constants
Using conditionals
Relational operators
if-else conditionals
Using elseif
Nested if statements
Understanding scopes
Exercise 1.1 – Changing properties on a part
Exercise 1.2 – Police system part I
Exercise ...
Get Mastering Roblox Coding now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.