Bring a small lobby to life
Two messages, in order
v7 · Activity 3 of 8 · Messages · 3 min Runs here
Workshop progress · step 3 of 8
Chapter outline
Instructions run from top to bottom. Each print call puts its message on a new line. Swap the lines to compare the outputs, then put the welcome before the invitation.
Your task
Display Welcome, then Join the next round, on two separate lines in that order.
Expected output
Welcome Join the next round
Lines must stay in order. Spelling, capitalization and spaces inside a message matter.
Syntax in this activity
New syntax: a second print instruction
Earlier ideas used here
- printing
- output
- strings
What this exercise checks
Actual Output · exact lines and order · extra output forbidden.
Successful execution is required. A compile error, runtime error or execution limit never completes this task.
Whitespace, matching single or double quotes, and different variable names are allowed. Output-only tasks accept any valid Luau solution meeting the displayed result and value types. Construct tasks use the stated straight-line form.
Explain this code
Select a word or symbol in this authored example. Your editor draft stays unchanged.
Display Welcome, then Join the next round, on two separate lines in that order.
Run code to see what happens. Check solution to test the activity.
Reset starter
Replace this code with the starter? Download your draft to keep a copy.
Code
LuauYour output will appear here.
Sign in with RoCreators to save private progress across devices. Community verification is separate.