You already know print(), but printing a single word gets boring fast. The real power shows up when you stitch text and live values together into one clean line, the kind of message that ends up on a scoreboard or in your Output window while you hunt a bug.
The tool for that is .., two dots, the concatenation operator. It snaps strings together end to end, and the best part is that Lua quietly turns a number into text for you when it lands in the middle of a string.
local coins = 25
print("You collected " .. coins .. " coins!")
Watch what happened there. The number coins slid right into the sentence and printed as You collected 25 coins!. You did not have to convert anything by hand. Mind the spaces though: .. glues pieces together exactly as written, so if you forget the space inside " scored " you get smartyhead01scored42points all mashed up. Spaces live inside your quotes, that is the part people trip on.
Why does this matter so much? Almost every message a game shows you is part fixed text and part live value. Health bars, kill feeds, “Welcome back, smartyhead01,” all of it is concatenation under the hood. Get comfy with .. now and you will use it in basically every project from here on.
Now make it yours: print the exact line for this lesson, then try building your own status line, maybe glue together three or four of your own variables, like a level, a name, and a high score, into one sentence that reads the way you want.