There is an issue with the button icon

So I made a plugin, I decided to put an icon. But the icon does not display on the button. There is no icon, just an X.

If you search this up there are a bunch of topics on this!
Here’s one with an answer:
“Unable to load plugin icon” Any ideas why that might be happening?

no, it did not help. They said that that guy used a decal id instead of an image. but I did not use a decal id, I used the image id!

Oof! I’ll look more into this. Attaching an image of how you went about adding the icon could help!

by the script that creates the plugin.

What code did you use to do this? There may be some sort of error.

local Plugin = plugin:CreateToolbar("Script Yay!")

local Button = Plugin:CreateButton("blabla","ssss", "rbxassestid://6915541892")

Button.Click:Connect(function()

local NewScript = Instance.new("Script")

NewScript.Source = ""

NewScript.Name = "Script"

NewScript.Parent = game:GetService("ServerScriptService")

end)

I’m pretty sure you spelled “rbxassestid” wrong, it should be spelled “rbxassetid” instead.
Also, you are using a decal id, the asset id is “6915541886”.
Hope this helps!

1 Like

no i dont remember putting that asset id!
i remember using my own image!

yes, i already know that it does not work. but i dont remember putting that id. maybe i really put that id and forgot. i dont know

I’m pretty sure that you used the decal id: “6915541892” on accident! I converted it to an asset id for you that’s how I got “6915541886”. I’m glad I could help you!

no!
you misunderstood!
i meant I accidentally used a decal id. i didnt even want that icon, i made my own icon. Maybe thats was before i make an icon to my plugin?

1 Like