local toolbar = plugin:CreateToolbar(“SafeShield”)
local MainButton = toolbar:CreateButton(“SafeShield”,“Main”,“rbxassetid://11237984749”)
local SettingsButton = toolbar:CreateButton(“Settings”,“Settings”,“rbxassetid://11238002938”)
Here are the asset ID’s:
However I’m getting Unable to load plugin icon and it replaces the icons with x’s. This is my first time making a plugin so I don’t know what to do
You’re using the wrong asset ids. You’re currently using the decal asset id which only provides information on the website about the asset. You need the image asset id which provides the actual image to be rendered in-experience.
Use 11237984738 (shield) and 11238002932 (shield settings).
local toolbar = plugin:CreateToolbar("SafeShield")
local MainButton = toolbar:CreateButton("SafeShield","Main","rbxassetid://11237984738")
local SettingsButton = toolbar:CreateButton("Settings","Settings","rbxassetid://11238002932")