Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why is my plugin icon invalid or unknown format?

Button part of the plugin script:

local button = toolbar:CreateButton(
	"Terrain Creator",
	"Open Terrain Creator",
	"http://www.roblox.com/asset/?id=145723965"
)

Error: 18:54:23.304 - Unable to load plugin icon. Image may have an invalid or unknown format.

1 answer

✓ Accepted answer

When dealing with decals on ROBLOX, you need to -1 from the original URL to get the asset id, if you put http://www.roblox.com/asset/?id=145723964 (one less) then it'll work!

1 comment

0

Note that if two assets are uploaded to ROBLOX at the same time, the asset ID could be -2 or even -3 behind the original ID.

This discussion is preserved as it was. New answers, comments, and votes are closed.