0% found this document useful (0 votes)
47 views2 pages

text

The document is a Lua script for a GUI library called redzlib, designed for a game called Blox Fruits. It creates a window with multiple tabs, buttons, toggles, sliders, and dropdowns for user interaction. The script includes functionality for theme selection, number tracking, and dialog prompts within the GUI.
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)
47 views2 pages

text

The document is a Lua script for a GUI library called redzlib, designed for a game called Blox Fruits. It creates a window with multiple tabs, buttons, toggles, sliders, and dropdowns for user interaction. The script includes functionality for theme selection, number tracking, and dialog prompts within the GUI.
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/ 2

local redzlib =

loadstring(game:HttpGet("https://raw.githubusercontent.com/Systeam3214/REDZHUB/
refs/heads/main/Source_Edited_No_Icons.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()


redzlesyhadhshsjdnfndnansjej2jhdejjajandfnfjajsjrfib:SetTheme("Dark")
end})

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


redzlib:Setebdbb33u373737377xcfTheme("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
})

You might also like