0% found this document useful (0 votes)
300 views5 pages

Redz_hub_ui_test

The document describes two libraries for creating user interfaces in a game environment, specifically for a hub called 'REDz HUB'. It includes functionality for creating windows, tabs, buttons, toggles, sliders, dropdowns, and notifications, allowing users to customize their experience. The code snippets demonstrate how to implement various UI elements and their interactions within the game framework.

Uploaded by

zaque.blox.1
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)
300 views5 pages

Redz_hub_ui_test

The document describes two libraries for creating user interfaces in a game environment, specifically for a hub called 'REDz HUB'. It includes functionality for creating windows, tabs, buttons, toggles, sliders, dropdowns, and notifications, allowing users to customize their experience. The code snippets demonstrate how to implement various UI elements and their interactions within the game framework.

Uploaded by

zaque.blox.1
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
You are on page 1/ 5

---library1----

local redzlib =
loadstring(game:HttpGet("https://raw.githubusercontent.com/REDzHUB/RedzLibV5/main/
Source.Lua"))()

local Window = redzlib:MakeWindow({


Title = "redz Hub : Blox Fruits",
SubTitle = "by redz9999",
SaveFolder = "testando | redz lib v5.lua"
})
local Tab1 = Window:MakeTab({"Um", "cherry"})
local Tab2 = Window:MakeTab({"Dois", "swords"})
local Tab3 = Window:MakeTab({"Três", "user"})

Tab1:AddButton({"Dark Theme", function()


redzlib:SetTheme("Dark")
end})

Tab1:AddButton({"Darker Theme", function()


redzlib:SetTheme("Darker")
end})

Tab1:AddButton({"Dark Purple", function()


redzlib:SetTheme("Purple")
end})

Window:SelectTab(Tab2)
local Section = Tab2:AddSection({"Section"})
local Paragraph = Tab2:AddParagraph({"Paragraph", "This is a Paragraph\nSecond
Line"})

local Number = 0
local Button = Tab2:AddButton({"Button", function()
Number = Number + 1
Section:Set("Number : " .. tostring(Number))
local Dialog = Window:Dialog({
Title = "Dialog",
Text = "This is a Dialog",
Options = {
{"Confirm", function()

end},
{"Maybe", function()

end},
{"Cancel", function()

end}
}
})
end})

local Button = Tab2:AddButton({


Name = "Invisible Toggle",
Description = "Makes the Toggles Invisible"
})

local Toggle1 = Tab2:AddToggle({


Name = "Toggle 1",
Description = "This is a <font color='rgb(88, 101, 242)'>Toggle</font> Example",
Default = false
})

local Toggle2 = Tab2:AddToggle({


Name = "Toggle 2",
Default = true
})

Button:Callback(Toggle1.Visible)
Button:Callback(Toggle2.Visible)

Toggle1:Callback(function(Value)
Toggle2:Set(false)
end)
Toggle2:Callback(function(Value)
Toggle1:Set(false)
end)

Tab2:AddSlider({
Name = "Slider",
Min = 1,
Max = 10,
Increase = 1,
Default = 5,
Callback = function(Value)

end
})

local Button = Tab2:AddButton({"Refresh Dropdown"})

local Dropdown = Tab2:AddDropdown({


Name = "Players List",
Description = "Select the <font color='rgb(88, 101, 242)'>Number</font>",
Options = {"one", "two", "three"},
Default = "two",
Flag = "dropdown teste",
Callback = function(Value)

end
})

-----library2----

loadstring(game:HttpGet(("https://raw.githubusercontent.com/REDzHUB/LibraryV2/
main/redzLib")))()

MakeWindow({
Hub = {
Title = "REDz HUB",
Animation = "by : redz9999"
},
Key = {
KeySystem = false,
Title = "Key System",
Description = "",
KeyLink = "",
Keys = {"1234"},
Notifi = {
Notifications = true,
CorrectKey = "Running the Script...",
Incorrectkey = "The key is incorrect",
CopyKeyLink = "Copied to Clipboard"
}
}
})

MinimizeButton({
Image = "",
Size = {40, 40},
Color = Color3.fromRGB(10, 10, 10),
Corner = true,
Stroke = false,
StrokeColor = Color3.fromRGB(255, 0, 0)
})

local Main = MakeTab({Name = "Main"})

MakeNotifi({
Title = "REDz HUB",
Text = "Notificação teste",
Time = 5
})

local section = AddSection(Main, {"Teste"})

AddButton(Main, {
Name = "Botão teste",
Callback = function()

end
})

local Toggle = AddToggle(Main, {


Name = "Toggle teste",
Default = false,
Callback = function(Value)

end
})

local Slider = AddSlider(Main, {


Name = "Slider teste",
MinValue = 10,
MaxValue = 100,
Default = 25,
Increase = 1,
Callback = function(Value)

end
})

AddKeybind(Main, {
Name = "Keybind teste",
KeyCode = "E",
Default = false,
Callback = function(Value)

end
})

AddTextBox(Main, {
Name = "TextBox teste",
Default = "bom dia",
PlaceholderText = "teste",
ClearText = true,
Callback = function(Value)

end
})

local Dropdown = AddDropdown(Main, {


Name = "Dropdown teste",
Options = {"1", "2", "3"},
Default = "2",
Callback = function(Value)

end
})

AddColorPicker(Main, {
Name = "Color picker teste",
Default = Color3.fromRGB(255, 255, 0),
Callback = function(Value)

end
})

local Label = AddTextLabel(Main, "AutoFarm")

local Paragraph = AddParagraph(Main, {"Paragraph teste", "bom dia meus manos"})

local Image = AddImageLabel(Main, {


Name = "Cool Image",
Image = "rbxassetid://"
})

local MobileToggle = AddMobileToggle({


Name = "Toggle",
Visible = true,
Callback = function(Value)

end
})

You might also like