Skip to main content

Stage 7: Rolling Rocks + cover

Course progressStage 7 of 10
~40 min
Before you start

Make sure the hidden hazard field has a fair route to Stage 7.

Build

a ramp, a CoverBlock, and rolling boulders

Learn

how timing and safe cover make moving hazards fair

Ship

a stage where players dodge rocks instead of guessing

The big idea

Moving hazards are exciting when players can read them. A rolling rock should have a rhythm, and the CoverBlock should give players a safe plan.

New words
spawner
a part whose script creates new game objects
Debris
a Roblox service that removes objects after a delay
rhythm
a repeated pattern the player can learn

Build it

Step 1 — Build the ramp and cover

Build this part

RockRamp

Block
Open recipe
Size
14 × 2 × 36
Color
Medium stone grey
Material
Slate
Anchored
✓ Yes
Build this part

CoverBlock

Block
Open recipe
Size
10 × 10 × 2
Color
Dark stone grey
Material
Concrete
Anchored
✓ Yes
Place
Beside the ramp where players can hide
Build this part

BoulderSpawner

Block
Open recipe
Size
4 × 1 × 4
Color
Bright yellow
Material
Neon
Anchored
✓ Yes
Place
At the high end of RockRamp

Step 2 — Spawn simple boulders

Insert a Script inside BoulderSpawner:

local spawner = script.Parent
local Debris = game:GetService("Debris")
local PUSH = 45

while true do
local rock = Instance.new("Part")
rock.Shape = Enum.PartType.Ball
rock.Size = Vector3.new(5, 5, 5)
rock.Position = spawner.Position + Vector3.new(0, 4, 0)
rock.Color = Color3.fromRGB(90, 70, 50)
rock.Parent = workspace

rock.AssemblyLinearVelocity = spawner.CFrame.LookVector * PUSH
Debris:AddItem(rock, 6)
task.wait(3)
end

Press Play. Watch the rocks. Rotate BoulderSpawner so its front points down the ramp, then move the ramp, spawner, or cover until the stage has a learnable rhythm.

Step 3 — Add the Stage 8 checkpoint

Place the Stage 8 SpawnLocation after the ramp. Add StageNumber = 8 and the matching Team.

Understand it

The spawner creates a ball, pushes it in the direction the spawner faces, waits, and does it again. The cover makes the stage fair because players have a safe place to pause.

Try this

Learning beat

Try this

Three short experiments. Predict before you run, then test your guess.

Predict first

What happens if the wait changes from 3 to 1?

Compare

Try slow rocks and fast rocks. Which gives the best "I can learn this" feeling?

Connect

What other obstacle could use a rhythm instead of random danger?

Test your stage

  • Boulders spawn on a steady beat.
  • Players can hide behind CoverBlock.
  • The route is hard but readable.
  • Stage 8 checkpoint works.

If it breaks

  • No rocks appear. Check the Script is inside BoulderSpawner.
  • Rocks roll the wrong way. Rotate BoulderSpawner so its front points down the ramp.
  • Too many rocks pile up. Confirm Debris:AddItem(rock, 6) is in the script.
  • The stage feels impossible. Lower PUSH or increase the wait.
Coach notes

Stage 7 is the hardest required script in the younger path. Pair students, type as a room if needed, and protect the tuning/playtesting time.