So i wanted to make a plugin and i’ve pretty much done everything except for one thing…
the image:(
when i use my plugin it says “image unable to load”
but i copied the exact script from every tutorial i could find about this thing.
and it’s just 1 line of code too!!!
local Toolbar = plugin:CreateToolbar("nil")
ToolBar:CreateButton("nil","nil","rbxassetid://12347106608","nil")--i changed it to nil because you need to focus on the numbers.
what am i supposed to do…
its perfectly fine right?
thanks in advance!
it’s not out because im still working on it.
so i can’t show you it’s still a local file.
ohhh wait im dumb you mean “plugin” as in “plugin” from the script!
well plugin is the instance you use to create plugins it holds alot of functions and events
one of those functions is CreateToolbar
no it’s meant to be the image for the uhhh whats the name…
plugin! like the avatar importer has that image with the black arrow pointing somewhere.
its the cover of the plugin
If it loads in an image label, and not in the plugin icon, it could say something about the issue. Such as, maybe you just need to restart studio because it wasn’t approved when you loaded the plugin?
EDIT Looks like the image has already been approved as soon as I posted this!
Looks like it’s likely because the actual image hasn’t loaded yet unfortunately.
AFAIK, when you upload an image, it uploads as both a decal and image. The decal has loaded but the image has not yet been approved yet, hence why it works on a part but not on GUIs.
It seems the same thing happened to you. It seemed unapproved, and then it approved when you refreshed. So it must be approved hours ago like the OP said.
I made a plugin recently and I used a privately published game dedicated to testing that so yes I suggest you do publish it but keep it private then use asset manager to upload the image