Not Equal: ~=: Coding lesson for kids

In “Not Equal: ~=”, children learn about score ~= 10 and if score ~= 10 then.

score ~= 10: ~= means "not equal to" — Lua does NOT use != like most other languages.

if score ~= 10 then: Runs only when score is anything OTHER than 10.

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.