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

Why can't change plug-in image?

Asked by 4 years ago
Edited 4 years ago

I am having a little problem when trying to set my plugin's image

local toolbar = plugin:CreateToolbar("Tools")
local button = toolbar:CreateButton("Rotate","Plugin to help you to rotate parts!","rbxassetid://3444930292") -- rbxassetid://3444930292 does not load any image but a error icon

I based that on this template:

local button = toolbar:CreateButton(text,tooltip,iconName) -- I'm not sure what it meant with iconName

everything works but the image simply does not load... Anyone have any suggestion on how I should fix that?

Answer this question