How would I find the texture of a face with a script?

I’m using the user’s input, through a textbox, It’s a number though.