for v,Y in pairs(checkpoint)do Y.TeamColor=(game.Team:FindFirstChild(Y.Name)).TeamColor Y.BrickColor=(game.Team:FindFirstChild(Y.Name)).TeamColor end
-- ^ Returns a table (group of data) containing all of the stage blocks

for i, checkpoint in pairs(checkpoint) do -- Looping through each checkpoint block in that table
	-- Any code inside of here will repeat for each checkpoint

	checkpoint.TeamColor = game.Team:FindFirstChild(checkpoint.Name).TeamColor
	checkpoint.BrickColor = game.Team:FindFirstChild(checkpoint.Name).TeamColor
end
