Build a Disappearing Platforms Challenge in Roblox Studio for Kids
![]() |
| KidsKod original illustration |
Ready for a Roblox challenge that keeps players on their toes? In this project you will build a Disappearing Platforms course in Roblox Studio: step on a glowing tile and it fades away a moment later, so you have to keep moving! If you are brand new to scripting, read our Roblox Lua Basics for Kids first, then come back and build.
What you need
- A computer (Windows or Mac) with Roblox Studio installed (it is free)
- A Roblox account (kids under 13 should set it up with a parent)
- About 30–45 minutes
- A grown-up nearby to help with the first script if needed
What you will learn
- How to add and color Parts to make platforms
- How the
Touchedevent knows when a player steps on something - How to use
TransparencyandCanCollideto make a part fade and vanish - How
task.wait()adds timing, and how a debounce stops a script running too many times
Step 1: Start a new place
- Open Roblox Studio and choose the Baseplate template.
- Click the Explorer and Properties buttons on the View tab so both panels are open.
- Save your place with a fun name, like Vanishing Path.
Step 2: Build the platforms
- On the Home tab, click Part to add a block.
- Use the Scale tool to make it flat and wide, about 6 x 1 x 6 studs.
- Lift it up off the ground with the Move tool, then set
Anchoredto true in Properties so it does not fall. - Pick a bright
BrickColorsuch as Neon green and setMaterialto Neon for a glowing look. - Rename the part
VanishTilein the Explorer.
Step 3: Add the vanishing script
- Hover over
VanishTilein the Explorer, click the + button, and add a Script. - Delete the starter line and type this code:
local tile = script.Parent
local busy = false -- our debounce
tile.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid and not busy then
busy = true
-- fade out slowly
for i = 1, 10 do
tile.Transparency = i / 10
task.wait(0.05)
end
tile.CanCollide = false -- players fall through!
task.wait(3)
-- come back
tile.Transparency = 0
tile.CanCollide = true
busy = false
end
end)
How it works: Touched runs whenever something bumps the tile. We check for a Humanoid so only players (not falling bricks) trigger it. The for loop raises Transparency from 0 to 1 so the tile fades. Setting CanCollide to false lets players fall through, and after 3 seconds the tile returns. The busy variable is the debounce: it stops the fade starting again and again while it is already running.
Step 4: Make a whole path
- Select
VanishTile(the script comes with it) and press Ctrl+D (or Cmd+D on Mac) to duplicate it. - Move each copy forward to make a path with small gaps to jump.
- Give some tiles different colors so the course looks like a rainbow bridge.
- Put a big normal (non-vanishing) part at the end as the finish platform.
Step 5: Add a safe start and a spawn
- Move the SpawnLocation next to the first tile so players start right at the challenge.
- If a player falls, they land on the baseplate and can walk back to try again. For a harder game, add a red Neon part below the path called
Lavalater!
Step 6: Test your game
- Click Play on the Home tab.
- Run across the tiles. Do they fade and come back?
- Too easy? Change
task.wait(0.05)totask.wait(0.02)so tiles vanish faster. Too hard? Make the number bigger. - Click Stop to go back to editing.
Safety tip for parents
- Keep new games private while kids are building and testing.
- Review Roblox parental controls together, including chat and who can join.
Wrap-up and challenge
Amazing work! You built a working obstacle with events, loops, timing, and a debounce, the same tools real game designers use. Want more Roblox practice? Try our Coin Collector Game in Roblox Studio next.
Challenge: Change the script so the tile turns red with tile.BrickColor = BrickColor.new("Really red") right before it fades, as a warning. Then set it back to green when it returns. Can you do it?
