Draft preview · this lesson is still being technically validated. Browser experiments and reference material remain available; trusted completion is enabled after publication.
Your first line in Roblox Studio
v2 · Activity 1 of 0 · studio-output · script-locations · 8 min Requires Roblox Studio
Chapter outline
You already used print() in the browser. Now run the same line in Roblox Studio and find the real Output panel.
This activity requires Roblox Studio. The website records your checklist; it does not execute or verify a Roblox project.
Your task
Create HelloWorld as a Script in ServerScriptService. Set RunContext to Server, replace its code with print("hello world"), run a test, and find the message in Studio Output.
Interface: Requires Roblox Studio. Complete the setup and self-check the actual behavior.
| Input | Expected |
|---|
Syntax in this activity
This activity reuses syntax you have already met.
Earlier ideas used here
- printing
- strings
Self-checked Studio exercise. A saved checklist records your own review; no uploaded place file or screenshot is executed here.
Build this hierarchy
ServerScriptService HelloWorld (Script, RunContext=Server, Enabled=true)
- Open Roblox Studio and create a new Baseplate. No downloaded assets or API credentials are needed.
- Open Explorer. Insert a Script into ServerScriptService and name it HelloWorld.
- Set the Script RunContext property to Server. Replace its default code with the complete line shown here.
- Open Output from Studio’s Window menu or Script tab toolbar. Start a playtest.
ServerScriptService/HelloWorld.server.luau
Use a Script with RunContext Server in ServerScriptService.
print("hello world")Expected output
- Server Output displays hello world. No 3D label or chat message is created.
Studio assessment checklist
Multiplayer tests
- One local playtest is sufficient for this output-only setup. Later lessons explicitly require separate server and client views.
Troubleshooting and production considerations
A LocalScript in ServerScriptService does not provide this server entry point; use the documented Script type.
Check Enabled, RunContext, whether a test is running, and any Output filters before changing the code.
This lab has not been executed in an approved Roblox Studio environment by this website.
The website records your self-check, not automatic proof of project competence or an official Roblox certification.
Create HelloWorld as a Script in ServerScriptService. Set RunContext to Server, replace its code with print("hello world"), run a test, and find the message in Studio Output.
Reset starter
Replace this code with the starter? Download your draft to keep a copy.
Code
Studio source fileEdit and run these files in Roblox Studio. This browser has no Roblox services, physics, or replication.
Your output will appear here.
Sign in with RoCreators to save private progress across devices. Community verification is separate.