Mercury is a free and open sourced Roblox UI library.
- https://discord.gg/jaunk8nhN5
- https://discord.com/users/480805591221010456
- https://discord.com/users/452466034822217739
loadstring(game:HttpGet("https://raw.githubusercontent.com/deeeity/mercury-lib/master/src.lua"))()
- Customizable (Themes)
- Browser-Like navigation
- Buttons
- Sliders
- Dropdowns
- Inputs
- Color Picker
- Notifications
- Prompts
... more to be added.
Created by [Deity#0228] and [Abstract#8007]
local Mercury = loadstring(game:HttpGet("https://raw.githubusercontent.com/deeeity/mercury-lib/master/src.lua"))()
local GUI = Mercury:Create{
Name = "Mercury",
Size = UDim2.fromOffset(600, 400),
Theme = Mercury.Themes.Dark,
Link = "https://github.com/deeeity/mercury-lib"
}
local Tab = GUI:Tab{
Name = "New Tab",
Icon = "rbxassetid://8569322835"
}
Tab:Button{
Name = "Button",
Description = nil,
Callback = function() end
}
Tab:Toggle{
Name = "Toggle",
StartingState = false,
Description = nil,
Callback = function(state) end
}
Tab:Textbox{
Name = "Textbox",
Callback = function(text) end
}
local MyDropdown = Tab:Dropdown{
Name = "Dropdown",
StartingText = "Select...",
Description = nil,
Items = {
{"Hello", 1}, -- {name, value}
12, -- or just value, which is also automatically taken as name
{"Test", "bump the thread pls"}
},
Callback = function(item) return end
}
MyDropdown:AddItems({
{"NewItem", 12}, -- {name, value}
400 -- or just value, which is also automatically taken as name
})
MyDropdown:RemoveItems({
"NewItem", "Hello" -- just the names to get removed (upper/lower case ignored)
})
MyDropdown:Clear()
Tab:Slider{
Name = "Slider",
Default = 50,
Min = 0,
Max = 100,
Callback = function() end
}
Tab:Keybind{
Name = "Keybind",
Keybind = nil,
Description = nil
}
GUI:Prompt{
Followup = false,
Title = "Prompt",
Text = "Prompts are cool",
Buttons = {
ok = function()
return true
end,
no = function()
return false
end
}
}
GUI:Notification{
Title = "Alert",
Text = "You shall bump the thread on V3rmillion!",
Duration = 3,
Callback = function() end
}
Tab:ColorPicker{
Style = Mercury.ColorPickerStyles.Legacy,
Callback = function(color) end
}
GUI:Credit{
Name = "Creditor's name",
Description = "Helped with the script",
V3rm = "link/name",
Discord = "helo#1234"
}
PLEASE NOTE THAT THE LOWER- AND UPPERCASE LETTERS DON'T MATTER WHEN CALLING LIBRARY FUNCTIONS.