ImageLabel with Materials

I’ve been making a small placement system, and I’ve been wanting to add materials. But, I don’t know if setting an ImageLabel to a material is possible. If it is, how would I accomplish this. And, I want to achieve this through script, so please give me code examples.