What Is Lua For?: Coding lesson for kids

In “What Is Lua For?”, children learn about Lua → Luau (Roblox) and No semicolons needed.

Lua → Luau (Roblox): Lua is a real programming language used in many games and apps. Roblox uses Luau, a language built on Lua — so the Lua you learn here carries straight over. The code runner in these lessons is plain Lua, not Roblox Studio.

No semicolons needed: Lua lines don't need a semicolon at the end. Semicolons are allowed, but most Lua code simply leaves them out.

This lesson is part of Lua in Coding at Pearls Valley Academy — The language behind Roblox’s Luau.

Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.