Font size
WorksheetsRoblox L33 UI score
Total questions: 14
Worksheet time: 13mins
Why should the timer start when the first checkpoint is touched instead of when the game starts?
To make sure all players start at the same time
To prevent the timer from resetting too soon
To make the race fair and accurate
To allow players to prepare before racing
What does the symbol # do when finding the last checkpoint?
Sets the checkpoint to zero
Counts the number of checkpoints in the list
Randomly selects a checkpoint
Removes the last checkpoint from the game
What is the purpose of the racing Boolean value?
To store the player's best race time
To track if a player is actively racing
To teleport the player when the race ends
To change the color of the checkpoints
Where do we place the racing = false condition in the script?
When the player touch the first checkpoint
When the player leaves the game
When the player touches the last checkpoint
When the player’s time reaches zero
What does the timerEvent:FireClient do inside the while true do loop?
Stops the timer when the player leaves
Updates the player’s timer UI
Teleports the player to the finish line
Hides the checkpoint labels
The racing value is created inside the player's data and starts as true.
False
True
The firstCheckpoint variable is assigned using checkpointList[1].
True
False
The while true do loop continuously checks whether the player’s racing value is true.
True
False
Match the function to its purpose:
Counts the number of checkpoints
#checkpointList
Sends an event to a specific player
FireClient
Creates a true/false value
BoolValue
Pauses the script for 1 second
wait(1)
local firstCheckpoint = (a)
local lastCheckpoint = (b)
if basepart == (a) then
player.racing.Value = true
if player.racing.value == (a) then
wait(1)
timer += 1
timerEvent:FireClient(player, timer)
end
When should the racing timer start? (a)
What happens when the player touches the last checkpoint? (a)
