How to get a instance's icon?

I’m making a plugin that allows you to add more instances, and I want the buttons to also show the instance’s icon. How do I get them? It doesn’t matter if it’s old or not by the way.

StudioService:GetClassIcon()

3 Likes

I’ll try that, thanks! (me when the limit)

If you want the redesign icons, you can use this icon pack I’ve made a while ago:

And to set the Image’s icon:

if redesignIcons:FindFirstChild(object.ClassName) then
	referenceImage.Image = redesignIcons[object.ClassName].Texture
else
	referenceImage.Image = redesignIcons["Instance"].Texture
end
1 Like

I’ll also add a setting for the redesign, thanks for helping though!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.