0% found this document useful (0 votes)
79 views3 pages

x2zu Fluent UI Library Script

The document provides a script for creating a user interface (UI) in Roblox using a library. It includes functionalities such as creating tabs, buttons, toggles, textboxes, sliders, and dropdowns, along with notifications and code displays. Additionally, it mentions the option to use a different loadstring for themes and credits the original creator.

Uploaded by

v41625141
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views3 pages

x2zu Fluent UI Library Script

The document provides a script for creating a user interface (UI) in Roblox using a library. It includes functionalities such as creating tabs, buttons, toggles, textboxes, sliders, and dropdowns, along with notifications and code displays. Additionally, it mentions the option to use a different loadstring for themes and credits the original creator.

Uploaded by

v41625141
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-- AVISO, AQUI NO LOADSTRING embaixo se pode substuir Por

loadstring(game:HttpGet("[Link]
heads/main/UI-LIBRARY"))() pra ter os temas mas essa Ui que te passei Tem os temas
e a mesma da original
local Library =
loadstring(game:HttpGet("[Link]
ROBLOX/refs/heads/main/X2ZU%20UI%20ROBLOX%20OPEN%20SOURCE/DummyUi-leak-by-x2zu/
fetching-main/Tools/[Link]"))()

-- CRIA TUDO
-- Create Main Window
local Window = Library:Window({
Title = "x2zu [ Stellar ]",
Desc = "x2zu on top",
Icon = 105059922903197,
Theme = "Dark",
Config = {
Keybind = [Link],
Size = [Link](0, 500, 0, 400) -- TAMANHO DA UI
},
CloseUIButton = {
Enabled = true,
Text = "x2zu"
}
})

-- NÃO SEI BEM MAS VE DPS

-- Sidebar Vertical Separator


local SidebarLine = [Link]("Frame")
[Link] = [Link](0, 1, 1, 0)
[Link] = [Link](0, 140, 0, 0) -- adjust if needed
SidebarLine.BackgroundColor3 = [Link](60, 60, 60)
[Link] = 0
[Link] = 5
[Link] = "SidebarLine"
[Link] = game:GetService("CoreGui") -- Or [Link] if accessible

-- CRIA A TAB

-- COLOCA O NOME QUE QUER NA TAB EM local nomeTab

local Tab = Window:Tab({Title = "Main", Icon = "star"}) do


-- SEÇÃO TBM COLOCA NOME NO INICIO O NOME DA TAB
Tab:Section({Title = "All UI Components"})

-- ESSE E O TOGGLE NO CALLBACK COLOCA ALGO E COLOCA O NOME DA TAB NO INICIO

-- Toggle
Tab:Toggle({
Title = "Enable Feature",
Desc = "Toggle to enable or disable the feature",
Value = false,
Callback = function(v)
print("Toggle:", v)
end
})

-- E UM BOTAO COLOCA TAB NO INICIO O NOME DA TAB


-- Button
Tab:Button({
Title = "Run Action",
Desc = "Click to perform something",
Callback = function()
print("Button clicked!")
Window:Notify({
Title = "Button",
Desc = "Action performed successfully.",
Time = 3
})
end
})

-- Textbox normal

-- Textbox
Tab:Textbox({
Title = "Input Text",
Desc = "Type something here",
Placeholder = "Enter value",
Value = "",
ClearTextOnFocus = false,
Callback = function(text)
print("Textbox value:", text)
end
})

-- nem preciso explicar

-- Slider
Tab:Slider({
Title = "Set Speed",
Min = 0,
Max = 100,
Rounding = 0,
Value = 25,
Callback = function(val)
print("Slider:", val)
end
})

-- tambem não precios explica e uma dropdown

-- Dropdown
Tab:Dropdown({
Title = "Choose Option",
List = {"Option 1", "Option 2", "Option 3"},
Value = "Option 1",
Callback = function(choice)
print("Selected:", choice)
end
})

-- aqui e meio inutil mas e daorinha e meio que Uma caixa de codigo

-- Code Display
local CodeBlock = Tab:Code({
Title = "Example Code",
Code = "-- This is a code preview\nprint('Hello world')"
})

-- Simulate update
[Link](5, function()
CodeBlock:SetCode("-- Updated!\nprint('New content loaded')")
end)
end

-- Line Separator
Window:Line()

-- aq e criacao de tab e aliad não precisava colocar nomeTab nos componentes era so
nome

-- Another Tab Example


local Extra = Window:Tab({Title = "Extra", Icon = "tag"}) do
Extra:Section({Title = "About"})
Extra:Button({
Title = "Show Message",
Desc = "Display a popup",
Callback = function()
Window:Notify({
Title = "Fluent UI",
Desc = "Everything works fine!",
Time = 3
})
end
})
end
Window:Line()
local Extra = Window:Tab({Title = "Settings", Icon = "wrench"}) do
Extra:Section({Title = "Config"})
Extra:Button({
Title = "Show Message",
Desc = "Display a popup",
Callback = function()
Window:Notify({
Title = "Fluent UI",
Desc = "Everything works fine!",
Time = 3
})
end
})
end

-- inutil mas e interessante


-- Final Notification
Window:Notify({
Title = "x2zu",
Desc = "All components loaded successfully! Credits leak: @x2zu",
Time = 4
})

You might also like