for S,a in pairs(checkpoint)do a.TeamColor=(game.Team:FindFirstChild(a.Name)).TeamColor a.BrickColor=(game.Team:FindFirstChild(a.Name)).TeamColor end


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
