0% found this document useful (0 votes)
2K views2 pages

Brookhaven Fe Script

This document contains code for creating a GUI window and sections using a UI library. It adds various widgets like buttons, toggles, sliders, text boxes, dropdowns, keybinds and color pickers to customize the UI and add interactivity. The code also includes functions to update elements and refresh dropdown lists on button clicks.

Uploaded by

pepe sluis
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)
2K views2 pages

Brookhaven Fe Script

This document contains code for creating a GUI window and sections using a UI library. It adds various widgets like buttons, toggles, sliders, text boxes, dropdowns, keybinds and color pickers to customize the UI and add interactivity. The code also includes functions to update elements and refresh dropdown lists on button clicks.

Uploaded by

pepe sluis
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 Library = loadstring(game:HttpGet("https://raw.githubusercontent.

com/xHeptc/
Kavo-UI-Library/main/source.lua"))()
local Window = Library.CreateLib("this script made by gameraazvb", "DarkTheme")
local Tab = Window:NewTab("brookhaven script")
local Section = Tab:NewSection("Brookhaven fe script")
Section:NewButton("Brookhaven fe script", "ButtonInfo", function()
loadstring(game:HttpGet('https://raw.githubusercontent.com/IceMael7/
AvatarUnlocker/main/IceHub'))()
print("Clicked")
end)
button:UpdateButton("New Text")
Section:NewToggle("idontclicksus", "ToggleInfo", function(state)
if state then
print("Toggle On")
else
print("Toggle Off")
end
end)
getgenv().Toggled = false

local toggle = Section:NewToggle("Toggle", "Info", (state)


getgenv().Toggled = state
end)
game:GetService("RunService").RenderStepped:Connect(function()
if getgenv().Toggled then
toggle:UpdateToggle("Toggle On")
else
toggle:UpdateToggle("Toggle Off")
end
end)
Section:NewSlider("walksped", "walkspeed", 500, 0, function(s) -- 500 (MaxValue) |
0 (MinValue)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
end)
Section:NewTextBox("TextboxText", "TextboxInfo", function(txt)
print(txt)
end)
Section:NewKeybind("KeybindText", "KeybindInfo", Enum.KeyCode.F, function()
print("You just clicked the bind")
end)
Section:NewKeybind("KeybindText", "KeybindInfo", Enum.KeyCode.F, function()
Library:ToggleUI()
end)
Section:NewDropdown("DropdownText", "DropdownInf", {"Option 1", "Option 2", "Option
3"}, function(currentOption)
print(currentOption)
end)

local oldList = {
"2020",
"2021"
}
local newList = {
"2022",
"2023"
}
local dropdown = Section:NewDropdown("Dropdown","Info", oldList, function()
end)
Section:NewButton("Update Dropdown", "Refreshes Dropdown", function()
dropdown:Refresh(newList)
end)
Section:NewColorPicker("Color Text", "Color Info", Color3.fromRGB(0,0,0),
function(color)
print(color)
-- Second argument is the default color
end)
local colors = {
SchemeColor = Color3.fromRGB(0,255,255),
Background = Color3.fromRGB(0, 0, 0),
Header = Color3.fromRGB(0, 0, 0),
TextColor = Color3.fromRGB(255,255,255),
ElementColor = Color3.fromRGB(20, 20, 20)
}
local Window = Library.CreateLib("TITLE", colors)
for theme, color in pairs(themes) do
Section:NewColorPicker(theme, "Change your "..theme, color, function(color3)
Library:ChangeColor(theme, color3)
end)

You might also like