local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Wertdev-X/Moon-UI-Library/refs/heads/main/V1-Source.lua"))() local Window = Library:Window({ Name = "UI Library", SubTitle = "By WertDev | V1.0", Logo = "rbxassetid://71014873973869", --// You can change Id it here. Size = UDim2.fromOffset(568, 330) }) Window:Category("Main") local Tab = Window:Page({Name = "Main", Icon = "10723407389"}) local SubPage = Tab:SubPage({Name = "Main"}) -- Section local Section = SubPage:Section({Name = "UI Library Elements", Icon = "10734962600"}) --// Toggle Section:Toggle({ Name = "Toggle", Flag = "Toggle", Callback = function(Value) print(Value) end }) --// Button Section:Button({ Name = "Click Me", Callback = function() Library:Notification("Test LOL ", 5, "94627324690861") end }) --// Slider Section:Slider({ Name = "Slider", Flag = "Slider", Min = 0, Max = 100, Default = 50, Suffix = "%", Decimals = 1, Callback = function(Value) print(Value) end }) --// Dropdown Section:Dropdown({ Name = "Dropdown", Flag = "Dropdown", Items = {"Option 1", "Option 2", "Option 3", "Option 4"}, Default = "Option 2", Multi = false, Callback = function(Value) print(Value) end }) --// Colorpicker local ColorLabel = Section:Label("Colorpicker") ColorLabel:Colorpicker({ Flag = "Colorpicker", Default = Color3.fromRGB(255, 255, 255), Callback = function(Value) print(Value) end }) --// Keybind local KeybindLabel = Section:Label("Keybind") KeybindLabel:Keybind({ Flag = "Keybind", Default = Enum.KeyCode.E, Mode = "Toggle", Callback = function(Value) print(Value) end }) --// Textbox Section:Textbox({ Flag = "Textbox", Placeholder = "Placeholder", Default = "Text", Finished = false, Numeric = false, Callback = function(Value) print(Value) end }) --// Label local Label = Section:Label("Label") --// Settings Window:Category("Settings") local SettingsPage = Library:CreateSettingsPage(Window) -- // Toggle UI (Mobile Friendly) local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "ToggleUi" ScreenGui.Parent = game:GetService("CoreGui") or game.Players.LocalPlayer:WaitForChild("PlayerGui") ScreenGui.ResetOnSpawn = false local Toggle = Instance.new("TextButton") Toggle.Name = "Toggle" Toggle.Parent = ScreenGui Toggle.BackgroundColor3 = Color3.fromRGB(20, 20, 20) Toggle.BackgroundTransparency = 0.2 Toggle.Position = UDim2.new(0, 15, 0.45, 0) Toggle.Size = UDim2.new(0, 50, 0, 50) Toggle.Text = "" Toggle.AutoButtonColor = true Toggle.Draggable = true local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(1, 0) Corner.Parent = Toggle local Stroke = Instance.new("UIStroke") Stroke.Color = Color3.fromRGB(45, 45, 45) Stroke.Thickness = 1.5 Stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border Stroke.Parent = Toggle local Image = Instance.new("ImageLabel") Image.Name = "Icon" Image.Parent = Toggle Image.Size = UDim2.new(0.7, 0, 0.7, 0) Image.Position = UDim2.new(0.15, 0, 0.15, 0) Image.BackgroundTransparency = 1 Image.Image = "rbxassetid://71014873973869" --// You can change Id it here local Corner2 = Instance.new("UICorner") Corner2.CornerRadius = UDim.new(1, 0) Corner2.Parent = Image Toggle.MouseButton1Click:Connect(function() local targetGui = gethui():FindFirstChild("LibGui") or game:GetService("CoreGui"):FindFirstChild("LibGui") if targetGui then targetGui.Enabled = not targetGui.Enabled end end)