How to get a class image without GetClassIcon?

Hello, for my new game I was working at a Explorer but, I got stuck at the Classes Images. I don’t really want to make photos with the classes but to use GetClassIcon but, I read it only works on plugins. Is there any way to use it on a Server Script?

1 Like

Is there a way to do it automatically? I don’t really like to make millions of photos.

The API returns a dictionary. You can iterate through the dictionary and store the Image ID. You can circumnavigate uploading your own images.

1 Like

The example is said on the api documentation, all the function does is set the image to "rbxasset://textures/ClassImages.png" and then crops it so it only shows the class image you want. If you wanted to recreate the function you would have to make table of every rect position for each class.

which api though? im missing something here