Variables: No Type Needed: Coding lesson for kids
In this lesson, children learn to declare a local variable and explain why local is preferred.
score = 10: No "let", "const", or type needed — just a name, an equals sign, and a value.
score = "ten": The SAME variable can later hold a totally different type — Lua does not lock a variable to one type.
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.