Wall/Floor Texture Sprite Sheet

I’ve got a sprite sheet of textures for walls/floors. I could upload each and every single one individually, but that would kind of suck and I’m hoping there’s a better way. I’ve seen examples of people calculating what part of the image to use to make gifs and stuff with a single image, but I’m not sure if that’s possible with textures or surface guis(also not sure which of these would be more efficient to use in this case).

If that is possible please point me in the right direction of how I could get started doing that. I was thinking I could have separate folders in the workspace called Floors, Walls, and Ceilings. So when I apply a texture to a ceiling it knows just to texture the bottom of the part. Floors would just texture the top part, and Walls would texture every surface. Then use the name of the part to know which texture to apply to it.

Anyways that’s about the best I can come up with and I think it’s full of restrictions so I’m mostly looking for better ideas here.