Draft preview · this lesson is still being technically validated. Browser experiments and reference material remain available; trusted completion is enabled after publication.
Build a readable quest panel
v2 · Activity 1 of 0 · screengui · layout · 28 min Requires Roblox Studio
Chapter outline
StarterGui contains templates copied to a player’s PlayerGui. ScreenGui holds screen-space interface objects; a Frame groups its panel contents.
UDim2 combines proportional scale and pixel offset. AnchorPoint changes which point of an object its Position refers to. A centered panel uses AnchorPoint 0.5,0.5 and Position scale 0.5,0.5.
Your task
Build QuestGui/Panel with Title and Progress labels. Center the panel, use readable text, and show Workshop quest and 0 / 3 objectives. Test tablet and phone sizes.
Interface: Complete the documented Studio hierarchy and self-check the behavior outside the browser.
| Input | Expected |
|---|
Syntax in this activity
New syntax: screengui, layout
Earlier ideas used here
- lifecycle
- cleanup
- idempotency
Self-check rubric
- Labels do not overlap or clip in phone and tablet emulation.
- Text has strong contrast and remains readable.
- Respawning preserves one panel with ResetOnSpawn=false.
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
StarterGui/QuestGui (ScreenGui, ResetOnSpawn=false)
Panel (Frame)
Title (TextLabel)
Progress (TextLabel)
Layout (LocalScript)- Create the exact GUI hierarchy in StarterGui.
- Set QuestGui ResetOnSpawn=false for this persistent panel exercise.
- Place Layout as a direct child of QuestGui.
StarterGui/QuestGui/Layout.client.luau
Main guided reference implementation; use the hierarchy’s stated Script or ModuleScript type.
local panel = script.Parent:WaitForChild("Panel")
panel.AnchorPoint = Vector2.new(0.5,0.5)
panel.Position = UDim2.fromScale(0.5,0.5)
panel.Size = UDim2.new(0.8,0,0,180)
panel.BackgroundColor3 = Color3.fromRGB(35,35,40)
local title = panel:WaitForChild("Title")
title.Position = UDim2.fromOffset(16,16)
title.Size = UDim2.new(1,-32,0,40)
title.BackgroundTransparency = 1
title.Text = "Workshop quest"
title.TextSize = 24
title.TextColor3 = Color3.fromRGB(245,245,245)
local progress = panel:WaitForChild("Progress")
progress.Position = UDim2.fromOffset(16,64)
progress.Size = UDim2.new(1,-32,0,40)
progress.BackgroundTransparency = 1
progress.Text = "0 / 3 objectives"
progress.TextSize = 20
progress.TextColor3 = Color3.fromRGB(245,245,245)Expected output
- A centered dark panel displays Workshop quest and 0 / 3 objectives.
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
A LocalScript in an unsupported location will not initialize the UI.
Position scale is relative to its parent; verify the parent hierarchy before changing numbers.
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 QuestGui/Panel with Title and Progress labels. Center the panel, use readable text, and show Workshop quest and 0 / 3 objectives. Test tablet and phone sizes.
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.