Advertisements
Scriptsight
VerifiedScriptsight read all of its code and found it safe.
- Ran it
- 15 November.
- Sends
- Nothing about you.
- Loads code from
- script.roscripts.io.
- Read the code
- In full, and found safe.
About
Delta Icon Library
A Lua library containing 52 icon name-to-image asset ID mappings.
API
- "DeltaIcon.GetAssetId("home")" — Returns the asset URI in "rbxassetid://..." format. - "DeltaIcon.GetId("home")" — Returns the numeric asset ID as a string. - "DeltaIcon.Exists("home")" — Checks whether an icon name exists. - "DeltaIcon.Create(parent, "home", properties)" — Creates an "ImageLabel" or "ImageButton". - "DeltaIcon.Set(imageObject, "home")" — Changes the image of an existing object. - "DeltaIcon.List()" — Returns a list of all available icon names. - "DeltaIcon.Search("file")" — Searches for icons by name. - "DeltaIcon.GetAll()" — Returns a table containing all icon names and asset URIs.
Icon names are case-insensitive and support spaces, underscores ("_"), and hyphens ("-").
Aliases for common typos from the original asset list ("sheildnotify", "filenclipboard") are also supported.
Usage Example
local DeltaIcon = loadstring(game:HttpGet("https://script.roscripts.io/9LDB82D"))()
local icon = DeltaIcon.Create(script.Parent, "home", { Size = UDim2.fromOffset(28, 28), Position = UDim2.fromOffset(10, 10), ImageColor3 = Color3.fromRGB(255, 255, 255), Name = "HomeIcon" })
-- Change an existing icon: DeltaIcon.Set(icon, "settings")
-- Get an asset URI: local asset = DeltaIcon.GetAssetId("discord") print(asset)
-- Create an image button: local button = DeltaIcon.Create(script.Parent, "close", { ClassName = "ImageButton", Size = UDim2.fromOffset(30, 30), Position = UDim2.fromOffset(200, 10) })
Notes
- Image assets must be accessible to the Roblox client and authorized for use in the target experience. - This library does not upload images or modify asset permissions. - "https://script.roscripts.io/9LDB82D" is the hosted library URL. Replace it with the raw URL of "DeltaIcon.lua" if you publish the library to another repository.
Advertisements
Version history
Loading…
Comments · 0
Sign in to comment.
No comments yet.
Copied. Paste it into your executor.
More scripts