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

How do you add a picture to a plugin button/toolbar?

Asked by 10 years ago

If you could explain it would be much appreciated!

1 answer

Log in to vote
0
Answered by
Asleum 135
10 years ago

When creating your button, the third argument is the id of the decal that will be used as an icon for your plugin. For example, this script will use this decal for the plugin icon :

Toolbar = plugin:CreateToolbar("SofloannsToolbar")
ToolbarButton = Toolbar:CreateButton("", "PluginName", "http://www.roblox.com/asset/?id=153138171") 
Ad

Answer this question