Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

"Unable to load plugin icon" How can I fix this?

Asked by 5 years ago

Hello,

I`m currently experimenting with Roblox Plugins and have Problems with the Plugin Icon

Here is my Code:

local toolbar = plugin:CreateToolbar("Text ON Brick")

local newScriptButton = toolbar:CreateButton("Add a Part", "Create an Part with an Text on it", "rbxassetid://3390571655")

When I reload the Plugin an Error is in the Output "Unable to load plugin icon"

1 answer

Log in to vote
0
Answered by
Prestory 1395 Moderation Voter
5 years ago

When you use decals you need to remember to always -1 from the AssetID until you reach the Texture which is what you wan't to use in the code so your code would become this

local toolbar = plugin:CreateToolbar("Text ON Brick")

local newScriptButton = toolbar:CreateButton("Add a Part", "Create an Part with an Text on it", "rbxassetid://3390571647")
0
Thanks :D RedstonecraftHD 25 — 5y
Ad

Answer this question