BP - slide bar change materials on static mesh

We already deal with text changing by years but i have absolutely no idea how create material array and connect it with each step of slidebar, if anyone help me, it will be amazing, thank you so much.