โ ๐ Lua World
๐ Mirror World
You can practise without a player, but pick a player to score points!
๐ The mission
Today you unlock
Text can be built from pieces
String levels are about joining words, numbers, and punctuation in the exact order the mission asks for.
๐ก Hint ladder
- Lua has a built-in: string.reverse(word) โ or word:reverse()
- Loop version: read letters back-to-front with string.sub(word, i, i).
๐งช Coach checks
- โฏ flips roblox
- โฏ flips abc
- โฏ one letter
- โฏ empty word
Live coach
Getting ready
โโโ
๐ฌ Lua strings have built-in tricks โ string.upper, string.sub... and one that reverses!
print(string.upper("roblox")) -- ROBLOX
print(string.sub("roblox", 1, 3)) -- rob
print(string.rep("go", 3)) -- gogogo
๐ It printed:
Nice โ you saw it work!
๐ Output
๐งฉ Gaps filled! Ready to write it all yourself?