Draft preview · this lesson is still being technically validated. Browser experiments and reference material remain available; trusted completion is enabled after publication.
v2 · Activity 3 of 4 · tweens · feedback · 28 min Requires Roblox Studio
TweenService:Create receives an Instance, TweenInfo timing, and a table of target property values. The returned Tween must be played.
TweenInfo includes a duration and easing choices. Keep the transition short and restrained; this lab uses no sound.
Tween WorkshopLamp from a neutral gray to orange over 0.4 seconds and print Lamp ready when the transition completes.
Interface: Complete the documented Studio hierarchy and self-check the behavior outside the browser.
| Input | Expected |
|---|
local tween = TweenService:Create(part, TweenInfo.new(0.4), { Transparency = 0.3 })
tween:Play()The target table describes the final property value. Create builds the tween; Play starts it.
New syntax: tweens, feedback
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.
Workspace/WorkshopLamp (anchored Part) ServerScriptService/LampFeedback (Script, RunContext=Server)
Main guided reference implementation; use the hierarchy’s stated Script or ModuleScript type.
local TweenService = game:GetService("TweenService")
local lamp = game:GetService("Workspace"):WaitForChild("WorkshopLamp")
lamp.Color = Color3.fromRGB(100, 100, 100)
local tween = TweenService:Create(lamp, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Color = Color3.fromRGB(234, 120, 40) })
tween.Completed:Connect(function(state)
if state == Enum.PlaybackState.Completed then print("Lamp ready") end
end)
tween:Play()If there is no transition, verify :Play() is called.
Do not run competing tweens on the same property unintentionally; cancel or replace the old transition deliberately.
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.
TweenService:Create receives an Instance, TweenInfo timing, and a table of target property values. The returned Tween must be played.
TweenInfo includes a duration and easing choices. Keep the transition short and restrained; this lab uses no sound.
A color tween communicates feedback, but color alone is not an accessible instruction. Output also names the target state.
Replace this code with the starter? Download your draft to keep a copy.
Edit 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.