Draft preview · this lesson is still being technically validated. Browser experiments and reference material remain available; trusted completion is enabled after publication.
Find the workshop in Explorer
v2 · Activity 1 of 0 · data-model · explorer · 28 min Requires Roblox Studio
Chapter outline
Explorer shows the hierarchy of services and Instances. Workspace holds the visible world; ServerScriptService holds the server code in this lab. Names must match the path your code reads.
A service is a top-level engine facility. game:GetService("Workspace") gets Workspace deliberately. WaitForChild waits for the named child; a timeout lets this lab explain a missing setup instead of waiting indefinitely.
Your task
Build the hierarchy below. Inspect WorkshopLamp from the server and print its class and anchored state. Diagnose a missing lamp rather than indexing nil.
Interface: Complete the documented Studio hierarchy and self-check the behavior outside the browser.
| Input | Expected |
|---|
Syntax in this activity
New syntax: data-model, explorer
Earlier ideas used here
- printing
- types
- functions
- tables
Self-check rubric
- Explorer contains the exact names and parent relationships.
- Play produces Part and true on the server without errors.
- Rename the lamp deliberately; the setup assertion identifies the missing object.
Your explanation is a self-check. Exact wording is not automatically graded.
Self-checked Studio exercise. A saved checklist records your own review; no uploaded place file or screenshot is executed here.
Build this hierarchy
Workspace WorkshopLamp (Part, Anchored=true) ServerScriptService InspectLamp (Script, RunContext=Server)
- Open a new Baseplate in Studio and insert a Part under Workspace.
- Name it WorkshopLamp, set Anchored true, Size 2,4,2, and Position 0,3,0.
- Insert InspectLamp under ServerScriptService and set RunContext to Server.
ServerScriptService/InspectLamp.server.luau
Main guided reference implementation; use the hierarchy’s stated Script or ModuleScript type.
local Workspace = game:GetService("Workspace")
local lamp = Workspace:WaitForChild("WorkshopLamp", 5)
assert(lamp and lamp:IsA("BasePart"), "Create a Part named WorkshopLamp in Workspace")
print(lamp.ClassName)
print(lamp.Anchored)Expected output
- Server Output prints Part, then true.
Studio assessment checklist
Multiplayer tests
- Run a local server and at least one client; compare server and client context where the activity uses both.
Troubleshooting and production considerations
If nothing prints, verify Script.Enabled and RunContext Server.
workshoplamp does not match WorkshopLamp. Stop before changing the saved hierarchy.
This is a bounded learning lab. It has not been executed in an approved Roblox Studio environment by this website.
A checked checklist records your own review, not automated project competence or a community verification.
Build the hierarchy below. Inspect WorkshopLamp from the server and print its class and anchored state. Diagnose a missing lamp rather than indexing nil.
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.