Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = {}
- function library:NewWindow(title)
- -- Variables
- title = (title == nil) and "Title" or title
- local uis = game:GetService("UserInputService")
- local tweenService = game:GetService("TweenService")
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- -- Gui
- local ScreenGui = Instance.new("ScreenGui")
- local Menu = Instance.new("Frame")
- local Background = Instance.new("Frame")
- local SideContainer = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local Frames = Instance.new("Frame")
- local Exit = Instance.new("TextButton")
- local Title = Instance.new("TextLabel")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Menu.Name = "Menu"
- Menu.Parent = ScreenGui
- Menu.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- Menu.BorderSizePixel = 0
- Menu.Position = UDim2.new(0.265135705, 0, 0.329052985, 0)
- Menu.Size = UDim2.new(0, 450, 0, 15)
- Background.Name = "Background"
- Background.Parent = Menu
- Background.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Background.BorderSizePixel = 0
- Background.Position = UDim2.new(0, 0, 0.999998987, 0)
- Background.Size = UDim2.new(0, 450, 0, 290)
- SideContainer.Name = "SideContainer"
- SideContainer.Parent = Background
- SideContainer.Active = true
- SideContainer.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- SideContainer.BorderSizePixel = 0
- SideContainer.Size = UDim2.new(0, 120, 0, 290)
- SideContainer.ScrollBarThickness = 8
- SideContainer.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
- UIListLayout.Parent = SideContainer
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 5)
- Frames.Name = "Frames"
- Frames.Parent = Background
- Frames.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frames.BackgroundTransparency = 1.000
- Frames.BorderSizePixel = 0
- Frames.Position = UDim2.new(0.266666681, 0, 0, 0)
- Frames.Size = UDim2.new(0, 330, 0, 290)
- Exit.Name = "Exit"
- Exit.Parent = Menu
- Exit.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- Exit.BorderSizePixel = 0
- Exit.Position = UDim2.new(0.967000008, 0, 0, 0)
- Exit.Size = UDim2.new(0, 15, 0, 15)
- Exit.Font = Enum.Font.Code
- Exit.Text = "X"
- Exit.TextColor3 = Color3.fromRGB(255, 255, 255)
- Exit.TextSize = 14.000
- Exit.AutoButtonColor = false
- Title.Name = "Title"
- Title.Parent = Menu
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.BorderSizePixel = 0
- Title.Size = UDim2.new(0, 435, 0, 15)
- Title.Font = Enum.Font.Code
- Title.Text = title
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextScaled = true
- Title.TextSize = 14.000
- Title.TextWrapped = true
- -- Local functions
- local function setDraggable()
- Menu.Active = true
- Menu.Draggable = true
- end
- local function exitButton()
- ScreenGui:Destroy()
- end
- local function createContainer(parent)
- local Container = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- Container.Parent = parent
- Container.Name = "Container"
- Container.BackgroundTransparency = 0
- Container.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- Container.BorderSizePixel = 0
- Container.Size = UDim2.new(0, 301, 0, 46)
- UICorner.Parent = Container
- return Container
- end
- local function hideFrames()
- for i,v in pairs(Frames:GetChildren()) do
- v.Visible = false
- end
- end
- local function resetTabColor()
- for i, v in pairs(SideContainer:GetChildren()) do
- if v:IsA("TextButton") then
- v.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- end
- end
- end
- local function buttonClickEffect(parent)
- parent.ClipsDescendants = true
- local mouseLocation = uis:GetMouseLocation()
- local absolutePosition = parent.AbsolutePosition
- local effectXPosition = UDim2.new(0, mouseLocation.X-absolutePosition.X, 0, (mouseLocation.Y-absolutePosition.Y)-36)
- local ButtonEffect = Instance.new("ImageLabel")
- ButtonEffect.Name = "ButtonEffect"
- ButtonEffect.Parent = parent
- ButtonEffect.AnchorPoint = Vector2.new(0.5, 0.5)
- ButtonEffect.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ButtonEffect.BackgroundTransparency = 1.000
- ButtonEffect.BorderSizePixel = 0
- ButtonEffect.Position = UDim2.new(0, 0, 0, 0)
- ButtonEffect.Size = UDim2.new(0, 25, 0, 25)
- ButtonEffect.Image = "rbxassetid://7658630902"
- ButtonEffect.ImageTransparency = 0.500
- ButtonEffect.Position = effectXPosition
- ButtonEffect:TweenSize(UDim2.new(0, 175, 0, 175))
- spawn(function()
- for i = 0.5, 1.05, 0.05 do
- ButtonEffect.ImageTransparency = i
- if i >= 1 then
- ButtonEffect:Destroy()
- end
- wait()
- end
- end)
- end
- local function dropdownEffect(ui, visible, rot1, rot2)
- local properties = (visible == true) and {
- Rotation = rot1
- } or {
- Rotation = rot2
- }
- local info = TweenInfo.new(0.5)
- local tween = tweenService:Create(ui, info, properties)
- tween:Play()
- end
- local library2 = {}
- function library2:Keybind(key, callback)
- key = (key == nil) and "E" or key
- uis.InputBegan:Connect(function(input, gameProcessedEvent)
- if gameProcessedEvent then
- return
- end
- if type(callback) == "function" then
- if type(key) == "string" then
- if input.KeyCode == Enum.KeyCode[key] then
- callback()
- end
- elseif type(key) == "table" then
- for i,v in pairs(key) do
- if input.KeyCode == Enum.KeyCode[v] then
- callback()
- end
- end
- end
- end
- end)
- end
- function library2:ToggleVisibility(bool)
- Menu.Visible = bool
- end
- function library2:NewTab(text)
- text = (type(text) ~= "string") and "Tab" or text
- local TextButton = Instance.new("TextButton")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local UICorner = Instance.new("UICorner")
- TextButton.Parent = SideContainer
- TextButton.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- TextButton.BorderSizePixel = 0
- TextButton.Size = UDim2.new(0, 114, 0, 35)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextSize = 14.000
- TextButton.Text = text
- TextButton.AutoButtonColor = false
- TextButton.ClipsDescendants = true
- ScrollingFrame.Parent = Frames
- ScrollingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- ScrollingFrame.BackgroundTransparency = 1.000
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Size = UDim2.new(0, 310, 0, 270)
- ScrollingFrame.Position = UDim2.new(0, 165, 0, 140)
- ScrollingFrame.ScrollBarThickness = 8
- ScrollingFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
- UIListLayout.Parent = ScrollingFrame
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 10)
- UICorner.Parent = TextButton
- hideFrames()
- TextButton.MouseButton1Down:Connect(function()
- buttonClickEffect(TextButton)
- hideFrames()
- resetTabColor()
- ScrollingFrame.Visible = true
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- end)
- local library3 = {}
- function library3:NewSection(text)
- text = (type(text) ~= "string") and "Section" or text
- local Section = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- local UICorner = Instance.new("UICorner")
- local SectionText = Instance.new("TextLabel")
- local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
- local SectionDropdown = Instance.new("TextButton")
- local arrow_drop = Instance.new("ImageButton")
- Section.Name = "Section"
- Section.Parent = ScrollingFrame
- Section.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- Section.BorderSizePixel = 0
- Section.Size = UDim2.new(0, 305, 0, 50)
- Section.AutomaticSize = Enum.AutomaticSize.Y
- UIListLayout.Parent = Section
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 5)
- SectionText.Name = "SectionText"
- SectionText.Parent = Section
- SectionText.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- SectionText.BorderSizePixel = 0
- SectionText.Size = UDim2.new(0, 301, 0, 54)
- SectionText.Font = Enum.Font.Code
- SectionText.Text = text
- SectionText.TextColor3 = Color3.fromRGB(255, 255, 255)
- SectionText.TextSize = 25.000
- UIAspectRatioConstraint.Parent = SectionText
- UIAspectRatioConstraint.AspectRatio = 10.000
- arrow_drop.Name = "arrow_drop_up"
- arrow_drop.Parent = SectionText
- arrow_drop.AnchorPoint = Vector2.new(0.5, 0.5)
- arrow_drop.BackgroundTransparency = 1.000
- arrow_drop.Position = UDim2.new(0.0333333351, 5, 0.5, 0)
- arrow_drop.Rotation = 180.000
- arrow_drop.Size = UDim2.new(0, 33, 0, 45)
- arrow_drop.Image = "rbxassetid://3926307971"
- arrow_drop.ImageRectOffset = Vector2.new(164, 484)
- arrow_drop.ImageRectSize = Vector2.new(36, 36)
- UICorner.Parent = Section
- UICorner.CornerRadius = UDim.new(0, 10)
- arrow_drop.MouseButton1Down:Connect(function()
- local visible = true
- for i,v in pairs(Section:GetChildren()) do
- if v:IsA("Frame") then
- v.Visible = not v.Visible
- visible = v.Visible
- end
- end
- dropdownEffect(arrow_drop, visible, 180, 90)
- end)
- local library4 = {}
- function library4:NewButton(text, callback)
- text = (type(text) ~= "string") and "Button" or text
- local TextButton = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- local Container = createContainer(Section)
- TextButton.Parent = Container
- TextButton.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextButton.Size = UDim2.new(0, 291, 0, 37)
- TextButton.AutoButtonColor = false
- TextButton.Font = Enum.Font.Code
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextSize = 14.000
- TextButton.Text = text
- TextButton.ClipsDescendants = true
- UICorner.CornerRadius = UDim.new(0, 8)
- UICorner.Parent = TextButton
- TextButton.MouseButton1Down:Connect(function()
- buttonClickEffect(TextButton)
- if type(callback) == "function" then
- callback()
- else
- print("Clicked!")
- end
- end)
- end
- function library4:NewTextBox(text, callback)
- text = (type(text) ~= "string") and "Placeholder" or text
- local Container = createContainer(Section)
- local TextBox = Instance.new("TextBox")
- TextBox.Parent = Container
- TextBox.AnchorPoint = Vector2.new(0.5, 0.5)
- TextBox.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- TextBox.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextBox.Size = UDim2.new(0, 291, 0, 37)
- TextBox.BorderSizePixel = 0
- TextBox.Font = Enum.Font.SourceSans
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextSize = 14.000
- TextBox.PlaceholderText = text
- TextBox.Text = text
- UICorner.CornerRadius = UDim.new(0, 8)
- UICorner.Parent = TextBox
- TextBox.FocusLost:Connect(function()
- if type(callback) == "function" then
- callback(TextBox.Text)
- else
- print("Lost Focus")
- end
- end)
- end
- function library4:NewSlider(text, min, max, callback)
- text = (type(text) ~= "string") and "Slider" or text
- min = min == nil and 0 or min
- max = max == nil and 10 or max
- local holding = false
- local val = 0
- local Slider = Instance.new("Frame")
- local TextButton_2 = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local UICorner_2 = Instance.new("UICorner")
- local Container = createContainer(Section)
- Slider.Name = "Slider"
- Slider.Parent = Container
- Slider.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- Slider.Position = UDim2.new(0.5, 0, 0.5, 0)
- Slider.Size = UDim2.new(0, 228, 0, 12)
- Slider.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton_2.Parent = Slider
- TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.473684192, 0, 0, 0)
- TextButton_2.Size = UDim2.new(0, 12, 0, 12)
- TextButton_2.Font = Enum.Font.Code
- TextButton_2.Text = ""
- TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_2.TextSize = 14.000
- UICorner.CornerRadius = UDim.new(16, 0)
- UICorner.Parent = TextButton_2
- TextLabel.Parent = Slider
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0.0614035092, 0, -1.58333337, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 19)
- TextLabel.Font = Enum.Font.Code
- TextLabel.Text = text
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 14.000
- TextLabel_2.Parent = Slider
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0.0614035092, 0, 0.999999881, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 19)
- TextLabel_2.Font = Enum.Font.Code
- TextLabel_2.Text = "0"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 14.000
- UICorner_2.CornerRadius = UDim.new(16, 0)
- UICorner_2.Parent = Slider
- TextButton_2.MouseButton1Down:Connect(function()
- holding = true
- while holding do
- local mouseLocation = uis:GetMouseLocation()
- local absolutePosition = Slider.AbsolutePosition
- local absoluteSize = Slider.AbsoluteSize
- local xLocation = (mouseLocation.X - absolutePosition.X) / absoluteSize.X
- local clampedX = math.clamp(xLocation, 0, 1)
- val = math.ceil( min + (clampedX * (max-min)) )
- TextButton_2.Position = UDim2.new(clampedX, 0, 0, 0)
- TextLabel_2.Text = tostring(val)
- if type(callback) == "function" then
- callback(val)
- else
- print("Slider Value: "..val)
- end
- wait()
- end
- end)
- TextButton_2.MouseButton1Up:Connect(function()
- holding = false
- end)
- mouse.Button1Up:Connect(function()
- holding = false
- end)
- end
- function library4:NewToggle(text, callback)
- text = (type(text) ~= "string") and "Toggle" or text
- local toggled = false
- local debounce = false
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local TextButton_2 = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local Container = createContainer(Section)
- Frame.Parent = Container
- Frame.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- Frame.Position = UDim2.new(0.5, 0, 0.65, 0)
- Frame.Size = UDim2.new(0, 50, 0, 20)
- Frame.Name = "Toggle"
- Frame.AnchorPoint = Vector2.new(0.5, 0.5)
- UICorner.CornerRadius = UDim.new(16, 0)
- UICorner.Parent = Frame
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(-1.51859653, 0, -1.10000002, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 19)
- TextLabel.Font = Enum.Font.Code
- TextLabel.Text = text
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 14.000
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- TextButton_2.Position = UDim2.new(0, 0, 2.98023224e-08, 0)
- TextButton_2.Size = UDim2.new(0, 20, 0, 20)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = ""
- TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.TextSize = 14.000
- TextButton_2.Name = "ToggleButton"
- UICorner_2.CornerRadius = UDim.new(16, 0)
- UICorner_2.Parent = TextButton_2
- TextButton_2.MouseButton1Down:Connect(function()
- if debounce == false then
- debounce = true
- toggled = not toggled
- local color = toggled == true and Color3.fromRGB(255, 255, 0) or Color3.fromRGB(255, 0, 0)
- local position = toggled == true and UDim2.new(0.6, 0, 0, 0) or UDim2.new(0, 0, 0, 0)
- TextButton_2:TweenPosition(position)
- TextButton_2.BackgroundColor3 = color
- if type(callback) == "function" then
- callback(toggled)
- else
- print("Toggled: "..tostring(toggled))
- end
- task.wait(1)
- debounce = false
- end
- end)
- end
- function library4:NewDropdown(text, items, callback)
- text = (type(text) ~= "string") and "Dropdown" or text
- items = (type(items) ~= "table") and {} or items
- local Dropdown = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local arrow_drop = Instance.new("ImageButton")
- local Items = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local UICorner_2 = Instance.new("UICorner")
- local Container = createContainer(Section)
- Dropdown.Name = "Dropdown"
- Dropdown.Parent = Container
- Dropdown.AnchorPoint = Vector2.new(0.5, 0.675)
- Dropdown.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- Dropdown.Position = UDim2.new(0.5, 0, 0.765, 0)
- Dropdown.Size = UDim2.new(0, 143, 0, 22)
- TextLabel.Parent = Dropdown
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Size = UDim2.new(0, 125, 0, 22)
- TextLabel.Font = Enum.Font.Code
- TextLabel.Text = "Selected: "
- TextLabel.TextScaled = true
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 14.000
- TextLabel_2.Parent = Dropdown
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0.0212121084, 0, -0.954545438, 0)
- TextLabel_2.Size = UDim2.new(0, 135, 0, 13)
- TextLabel_2.Font = Enum.Font.Code
- TextLabel_2.Text = text
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 14.000
- arrow_drop.Name = "arrow_drop_down"
- arrow_drop.Parent = Dropdown
- arrow_drop.AnchorPoint = Vector2.new(0.5, 0.5)
- arrow_drop.BackgroundTransparency = 1.000
- arrow_drop.Position = UDim2.new(0.883020937, 0, 0.463999987, 0)
- arrow_drop.Size = UDim2.new(0, 22, 0, 22)
- arrow_drop.ZIndex = 2
- arrow_drop.Image = "rbxassetid://3926307971"
- arrow_drop.ImageRectOffset = Vector2.new(324, 524)
- arrow_drop.ImageRectSize = Vector2.new(36, 36)
- Items.Name = "Items"
- Items.Parent = Dropdown
- Items.Active = true
- Items.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
- Items.BorderSizePixel = 0
- Items.Position = UDim2.new(0, 0, 1, 0)
- Items.Size = UDim2.new(0, 143, 0, 69)
- Items.Visible = false
- Items.CanvasSize = UDim2.new(0, 0, 10, 0)
- Items.AutomaticCanvasSize = Enum.AutomaticSize.Y
- UIListLayout.Parent = Items
- UICorner_2.Parent = Dropdown
- local function setContainerSize()
- Dropdown.Position = (Items.Visible == true) and UDim2.new(0.5, 0, 0.3, 0) or UDim2.new(0.5, 0, 0.765, 0)
- Container.Size = (Items.Visible == true) and UDim2.new(0, 301, 0, 114) or UDim2.new(0, 301, 0, 46)
- end
- arrow_drop.MouseButton1Down:Connect(function()
- Items.Visible = not Items.Visible
- setContainerSize()
- dropdownEffect(arrow_drop, Items.Visible, 180, 0)
- end)
- for _, item in pairs(items) do
- local name = (typeof(item) == "Instance") and item.Name or item
- local ItemButton = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- ItemButton.Name = "ItemButton"
- ItemButton.Parent = Items
- ItemButton.BackgroundColor3 = Color3.fromRGB(5, 5, 5)
- ItemButton.Position = UDim2.new(0, 0, 0, 0)
- ItemButton.Size = UDim2.new(0, 132, 0, 26)
- ItemButton.AutoButtonColor = false
- ItemButton.Font = Enum.Font.Code
- ItemButton.Text = name
- ItemButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ItemButton.TextSize = 14.000
- UICorner.Parent = ItemButton
- ItemButton.MouseButton1Down:Connect(function()
- buttonClickEffect(ItemButton)
- TextLabel.Text = "Selected: "..name
- Items.Visible = false
- dropdownEffect(arrow_drop, Items.Visible, 180, 0)
- setContainerSize()
- if type(callback) == "function" then
- callback(name)
- end
- end)
- end
- end
- return library4
- end
- return library3
- end
- -- Call functions
- setDraggable()
- Exit.MouseButton1Click:Connect(exitButton)
- return library2
- end
- return library
- -- library:NewWindow(string: title):NewTab(string: text): NewSection:(string: title): NewButton(string: text, funciton: callback)
- -- Color(dictionary: color) NewSlider(string: text, number: min, number: max, function: callback)
- -- Keybind(string: key) NewTextBox(string: placeholderText, function: callback)
- -- SetTheme(string: theme) NewToggle(string: text, function: callback)
- -- ToggleVisibility(boolean: visible)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement