Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Lucide Icons Wrapper by darraghd493
- A simple wrapper for accessing icons from Lucide Icons Picker v2.
- ]]
- local ASSETS_URL = "https://pastebin.com/raw/reKydqu6"
- local success, icons = pcall(function()
- return loadstring(game:HttpGet(ASSETS_URL))()
- end)
- if success then
- if not icons["assets"] then
- error("Invalid library format from '" .. ASSETS_URL .. "'")
- return nil
- end
- return function(name: string)
- return icons["assets"][string.lower(name)] or icons["assets"]["lucide-" .. string.lower(name)] or icons["assets"]["lucide-alert-triangle"]
- end
- else
- error("Failed to load library '" .. ASSETS_URL .. "': " .. tostring(icons))
- return nil
- end
Advertisement
Add Comment
Please, Sign In to add comment