Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Lib = {}
- function Lib:CreateWindow(title, gameName)
- local Container = Instance.new("ScreenGui")
- local GuiBacking = Instance.new("ImageLabel")
- local TextHolder = Instance.new("ImageLabel")
- local Title = Instance.new("TextLabel")
- local GameName = Instance.new("TextLabel")
- local TabContainer = Instance.new("ImageLabel")
- local TabListLayout = Instance.new("UIListLayout")
- local Items = Instance.new("Frame")
- local TextHolderBacking = Instance.new("ImageLabel")
- local Tabs = Instance.new("ScrollingFrame")
- local open = true
- Container.Parent = game:GetService("CoreGui")
- Container.Name = title
- GuiBacking.Name = "Container"
- GuiBacking.Parent = Container
- GuiBacking.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GuiBacking.BackgroundTransparency = 1.000
- GuiBacking.BorderColor3 = Color3.fromRGB(27, 42, 53)
- GuiBacking.Position = UDim2.new(0.309451252, 0, 0.279648572, 0)
- GuiBacking.Size = UDim2.new(0, 500, 0, 300)
- GuiBacking.Image = "rbxassetid://3570695787"
- GuiBacking.ImageColor3 = Color3.fromRGB(45,45,45)
- GuiBacking.ScaleType = Enum.ScaleType.Slice
- GuiBacking.SliceCenter = Rect.new(100, 100, 100, 100)
- GuiBacking.SliceScale = 0.040
- GuiBacking.ClipsDescendants = true
- local UIS = game:GetService("UserInputService")
- dragToggle = nil
- local dragSpeed = 0
- dragInput = nil
- dragStart = nil
- local dragPos = nil
- function updateInput(input)
- local Delta = input.Position - dragStart
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(GuiBacking, TweenInfo.new(0.15), {Position = Position}):Play()
- end
- GuiBacking.InputBegan:Connect(function(input)
- if GuiBacking.Visible == true then
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
- dragToggle = true
- dragStart = input.Position
- startPos = GuiBacking.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end
- end)
- GuiBacking.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragToggle then
- updateInput(input)
- end
- end)
- game:GetService("UserInputService").InputBegan:Connect(function(key)
- if key.KeyCode==getgenv().key then
- if open then
- GuiBacking:TweenSize(UDim2.new(0,0,0,300))
- open = false
- wait(2.5)
- else
- GuiBacking:TweenSize(UDim2.new(0,500,0,300))
- open = true
- wait(2.5)
- end
- end
- end)
- TextHolder.Name = "TextHolder"
- TextHolder.Parent = GuiBacking
- TextHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextHolder.BackgroundTransparency = 1.000
- TextHolder.Position = UDim2.new(-0.000757873524, 0, -0.000351409923, 0)
- TextHolder.Size = UDim2.new(0, 157, 0, 72)
- TextHolder.Image = "rbxassetid://3570695787"
- TextHolder.ImageColor3 = Color3.fromRGB(35,35,35)
- TextHolder.ScaleType = Enum.ScaleType.Slice
- TextHolder.SliceCenter = Rect.new(100, 100, 100, 100)
- TextHolder.SliceScale = 0.040
- TextHolderBacking.Name = "TextHolderBacking"
- TextHolderBacking.Parent = TextHolder
- TextHolderBacking.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextHolderBacking.BackgroundTransparency = 1.000
- TextHolderBacking.Size = UDim2.new(0, 157, 0, 52)
- TextHolderBacking.Image = "rbxassetid://3570695787"
- TextHolderBacking.ImageColor3 = Color3.fromRGB(15, 15, 15)
- TextHolderBacking.ScaleType = Enum.ScaleType.Slice
- TextHolderBacking.SliceCenter = Rect.new(100, 100, 100, 100)
- TextHolderBacking.SliceScale = 0.040
- Title.Name = "Title"
- Title.Parent = TextHolder
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.BorderSizePixel = 0
- Title.Position = UDim2.new(0.067, 0, 0.12, 0)
- Title.Size = UDim2.new(0, 135, 0, 20)
- Title.ZIndex = 4
- Title.Font = Enum.Font.GothamBold
- Title.Text = title
- Title.TextColor3 = Color3.fromRGB(223, 225, 235)
- Title.TextSize = 20.000
- GameName.Name = "GameName"
- GameName.Parent = TextHolder
- GameName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GameName.BackgroundTransparency = 1.000
- GameName.BorderSizePixel = 0
- GameName.Position = UDim2.new(0.067, 0, 0.395, 0)
- GameName.Size = UDim2.new(0, 135, 0, 17)
- GameName.ZIndex = 4
- GameName.Font = Enum.Font.GothamBold
- GameName.Text = gameName
- GameName.TextColor3 = Color3.fromRGB(161, 163, 170)
- GameName.TextSize = 15.000
- GameName.TextYAlignment = Enum.TextYAlignment.Top
- TabContainer.Name = "TabContainer"
- TabContainer.Parent = GuiBacking
- TabContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TabContainer.BackgroundTransparency = 1.000
- TabContainer.Position = UDim2.new(-0.00057025149, 0, 0.209648535, 0)
- TabContainer.Size = UDim2.new(0, 157, 0, 237)
- TabContainer.Image = "rbxassetid://3570695787"
- TabContainer.ImageColor3 = Color3.fromRGB(35,35,35)
- TabContainer.ScaleType = Enum.ScaleType.Slice
- TabContainer.SliceCenter = Rect.new(100, 100, 100, 100)
- TabContainer.SliceScale = 0.040
- Tabs.Parent = TabContainer
- Tabs.Active = true
- Tabs.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Tabs.BackgroundTransparency = 1.000
- Tabs.BorderSizePixel = 0
- Tabs.Size = UDim2.new(0, 157, 0, 237)
- Tabs.ScrollBarThickness = 0
- Tabs.CanvasSize = UDim2.new(0, 0, 0, 0)
- Tabs.Name = "Tabs"
- TabListLayout.Parent = Tabs
- TabListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- TabListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- TabListLayout.Padding = UDim.new(0, 5)
- TabListLayout.Name = "TabListLayout"
- Items.Name = "Items"
- Items.Parent = GuiBacking
- Items.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Items.BackgroundTransparency = 1.000
- Items.BorderSizePixel = 0
- Items.Position = UDim2.new(-0.000837594271, 0, -0.000351428986, 0)
- Items.Size = UDim2.new(0, 500, 0, 300)
- function DestroyUI()
- Container:Destroy()
- end
- local InsideLib = {}
- function InsideLib:Tab(name)
- Tabs.CanvasSize += UDim2.new(0, 0, .15, 0)
- local TabButton = Instance.new("TextButton")
- local TabButtonRounded = Instance.new("ImageLabel")
- local Tab = Instance.new("ScrollingFrame")
- local UIListLayout_2 = Instance.new("UIListLayout")
- TabButton.Name = name
- TabButton.Parent = Tabs
- TabButton.BackgroundColor3 = Color3.fromRGB(16, 20, 36)
- TabButton.BackgroundTransparency = 1.000
- TabButton.BorderSizePixel = 0
- TabButton.Position = UDim2.new(0.0159235671, 0, 0.147679329, 0)
- TabButton.Size = UDim2.new(0, 136, 0, 30)
- TabButton.ZIndex = 2
- TabButton.Font = Enum.Font.GothamBold
- TabButton.Text = name
- TabButton.TextColor3 = Color3.fromRGB(161, 163, 170)
- TabButton.TextSize = 14.000
- TabButton.MouseButton1Click:Connect(function()
- for i, v in pairs(Items:GetChildren()) do
- if v.Name ~= TabButton.Name then
- v.Visible = false
- local tabname = v.Name
- Tabs:WaitForChild(tabname).TextColor3 = Color3.fromRGB(161, 163, 170)
- else
- v.Visible = true
- local tabname = v.Name
- Tabs:WaitForChild(tabname).TextColor3 = Color3.fromRGB(223, 225, 235)
- end
- end
- end)
- TabButtonRounded.Name = "TabButtonRounded"
- TabButtonRounded.Parent = TabButton
- TabButtonRounded.Active = true
- TabButtonRounded.AnchorPoint = Vector2.new(0.5, 0.5)
- TabButtonRounded.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TabButtonRounded.BackgroundTransparency = 1.000
- TabButtonRounded.Position = UDim2.new(0.5, 0, 0.5, 0)
- TabButtonRounded.Selectable = true
- TabButtonRounded.Size = UDim2.new(1, 0, 1, 0)
- TabButtonRounded.Image = "rbxassetid://3570695787"
- TabButtonRounded.ImageColor3 = Color3.fromRGB(15,15,15)
- TabButtonRounded.ScaleType = Enum.ScaleType.Slice
- TabButtonRounded.SliceCenter = Rect.new(100, 100, 100, 100)
- TabButtonRounded.SliceScale = 0.040
- Tab.Name = name
- Tab.Parent = Items
- Tab.Active = true
- Tab.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Tab.BackgroundTransparency = 1.000
- Tab.Position = UDim2.new(0.31400001, 0, 0.0422001146, 0)
- Tab.Size = UDim2.new(0, 343, 0, 274)
- Tab.CanvasSize = UDim2.new(0, 0, 0, 0)
- Tab.Visible = false
- Tab.ScrollBarThickness = 0
- UIListLayout_2.Parent = Tab
- UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout_2.Padding = UDim.new(0, 5)
- local InsideInsideLib = {}
- function InsideInsideLib:Button(name, callback)
- Tab.CanvasSize += UDim2.new(0, 0, .115, 0)
- local callback = callback or function() end
- local Button = Instance.new("TextButton")
- local ButtonRounded = Instance.new("ImageLabel")
- local cursor = Instance.new("ImageButton")
- name = name or "New Button"
- Button.Parent = Tab
- Button.BackgroundColor3 = Color3.fromRGB(16, 20, 36)
- Button.BackgroundTransparency = 1.000
- Button.BorderSizePixel = 0
- Button.Position = UDim2.new(0.301749259, 0, 0, 0)
- Button.Size = UDim2.new(0, 296, 0, 30)
- Button.ZIndex = 2
- Button.Font = Enum.Font.GothamBold
- Button.TextColor3 = Color3.fromRGB(223, 225, 235)
- Button.TextSize = 14.000
- Button.Text = name
- Button.Name = "Button"
- ButtonRounded.Name = "ButtonRounded"
- ButtonRounded.Parent = Button
- ButtonRounded.Active = true
- ButtonRounded.AnchorPoint = Vector2.new(0.5, 0.5)
- ButtonRounded.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ButtonRounded.BackgroundTransparency = 1.000
- ButtonRounded.Position = UDim2.new(0.5, 0, 0.5, 0)
- ButtonRounded.Selectable = true
- ButtonRounded.Size = UDim2.new(1, 0, 1, 0)
- ButtonRounded.Image = "rbxassetid://3570695787"
- ButtonRounded.ImageColor3 = Color3.fromRGB(15,15,15)
- ButtonRounded.ScaleType = Enum.ScaleType.Slice
- ButtonRounded.SliceCenter = Rect.new(100, 100, 100, 100)
- ButtonRounded.SliceScale = 0.040
- cursor.Name = "cursor"
- cursor.Parent = Button
- cursor.BackgroundTransparency = 1.000
- cursor.Position = UDim2.new(-0.00173042913, 0, 0, 0)
- cursor.Size = UDim2.new(0, 30, 0, 30)
- cursor.ZIndex = 2
- cursor.Image = "rbxassetid://6764432293"
- cursor.ImageRectOffset = Vector2.new(400, 0)
- cursor.ImageRectSize = Vector2.new(100, 100)
- Button.MouseButton1Down:Connect(function()
- pcall(callback)
- end)
- end
- function InsideInsideLib:Toggle(name, callback)
- Tab.CanvasSize += UDim2.new(0, 0, .115, 0)
- local enabled = false
- name = name or "New Toggle"
- callback = callback or function() end
- local ToggleBacking = Instance.new("ImageLabel")
- local Text = Instance.new("TextLabel")
- local CheckBox = Instance.new("ImageLabel")
- local CheckBoxText = Instance.new("TextLabel")
- local ToggleButton = Instance.new("TextButton")
- ToggleBacking.Name = "Toggle"
- ToggleBacking.Parent = Tab
- ToggleBacking.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ToggleBacking.BackgroundTransparency = 1.000
- ToggleBacking.Position = UDim2.new(0.0787172019, 0, 0.127737224, 0)
- ToggleBacking.Size = UDim2.new(0, 296, 0, 30)
- ToggleBacking.Image = "rbxassetid://3570695787"
- ToggleBacking.ImageColor3 = Color3.fromRGB(15, 15, 15)
- ToggleBacking.ScaleType = Enum.ScaleType.Slice
- ToggleBacking.SliceCenter = Rect.new(100, 100, 100, 100)
- ToggleBacking.SliceScale = 0.040
- Text.Name = "Text"
- Text.Parent = ToggleBacking
- Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Text.BackgroundTransparency = 1.000
- Text.BorderSizePixel = 0
- Text.Size = UDim2.new(0, 268, 0, 30)
- Text.Font = Enum.Font.GothamBold
- Text.TextColor3 = Color3.fromRGB(223, 225, 235)
- Text.TextSize = 14.000
- Text.Text = name
- CheckBox.Name = "CheckBox"
- CheckBox.Parent = ToggleBacking
- CheckBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- CheckBox.BackgroundTransparency = 1.000
- CheckBox.Position = UDim2.new(0.905405402, 0, 0.100000001, 0)
- CheckBox.Size = UDim2.new(0, 24, 0, 24)
- CheckBox.Image = "rbxassetid://3570695787"
- CheckBox.ImageColor3 = Color3.fromRGB(35, 35, 35)
- CheckBox.ScaleType = Enum.ScaleType.Slice
- CheckBox.SliceCenter = Rect.new(100, 100, 100, 100)
- CheckBox.SliceScale = 0.040
- CheckBoxText.Name = "CheckBoxText"
- CheckBoxText.Parent = CheckBox
- CheckBoxText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- CheckBoxText.BackgroundTransparency = 1.000
- CheckBoxText.BorderSizePixel = 0
- CheckBoxText.Size = UDim2.new(0, 24, 0, 24)
- CheckBoxText.Font = Enum.Font.GothamBold
- CheckBoxText.Text = ""
- CheckBoxText.TextColor3 = Color3.fromRGB(255, 255, 255)
- CheckBoxText.TextSize = 19.000
- ToggleButton.Name = "ToggleButton"
- ToggleButton.Parent = ToggleBacking
- ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ToggleButton.BackgroundTransparency = 1.000
- ToggleButton.BorderSizePixel = 0
- ToggleButton.Size = UDim2.new(0, 296, 0, 30)
- ToggleButton.Font = Enum.Font.SourceSans
- ToggleButton.Text = ""
- ToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- ToggleButton.TextSize = 14.000
- local function Fire()
- enabled = not enabled
- CheckBoxText.Text = enabled and "X" or ""
- pcall(callback, enabled)
- end
- ToggleButton.MouseButton1Click:Connect(Fire)
- end
- function InsideInsideLib:Slider(name, minvalue, maxvalue, callback)
- Tab.CanvasSize += UDim2.new(0, 0, .115, 0)
- minvalue = minvalue or 0
- maxvalue = maxvalue or 100
- callback = callback or function() end
- name = name or "New Slider"
- local mouse = game.Players.LocalPlayer:GetMouse()
- local uis = game:GetService("UserInputService")
- local Value;
- local Slider = Instance.new("ImageLabel")
- local Name = Instance.new("TextLabel")
- local Num = Instance.new("TextLabel")
- local Main = Instance.new("TextButton")
- local SliderTop = Instance.new("ImageLabel")
- local SliderIner = Instance.new("ImageLabel")
- Slider.Name = "Slider"
- Slider.Parent = Tab
- Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Slider.BackgroundTransparency = 1.000
- Slider.Position = UDim2.new(0.354227394, 0, 0.255474448, 0)
- Slider.Size = UDim2.new(0, 296, 0, 30)
- Slider.Image = "rbxassetid://3570695787"
- Slider.ImageColor3 = Color3.fromRGB(15, 15, 15)
- Slider.ScaleType = Enum.ScaleType.Slice
- Slider.SliceCenter = Rect.new(100, 100, 100, 100)
- Slider.SliceScale = 0.040
- Name.Name = "Text"
- Name.Parent = Slider
- Name.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Name.BackgroundTransparency = 1.000
- Name.BorderSizePixel = 0
- Name.Size = UDim2.new(0, 235, 0, 17)
- Name.Font = Enum.Font.GothamBold
- Name.Text = name
- Name.TextColor3 = Color3.fromRGB(223, 225, 235)
- Name.TextSize = 14.000
- Num.Name = "Num"
- Num.Parent = Slider
- Num.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Num.BackgroundTransparency = 1.000
- Num.BorderSizePixel = 0
- Num.Position = UDim2.new(0.793918908, 0, 0, 0)
- Num.Size = UDim2.new(0, 61, 0, 17)
- Num.Font = Enum.Font.GothamBold
- Num.Text = "250"
- Num.TextColor3 = Color3.fromRGB(223, 225, 235)
- Num.TextSize = 14.000
- Main.Name = "Main"
- Main.Parent = Slider
- Main.BackgroundColor3 = Color3.fromRGB(223, 225, 235)
- Main.BackgroundTransparency = 1.000
- Main.BorderSizePixel = 0
- Main.ClipsDescendants = true
- Main.Position = UDim2.new(0.0135135138, 0, 0.566666663, 0)
- Main.Size = UDim2.new(0, 288, 0, 9)
- Main.Font = Enum.Font.SourceSans
- Main.Text = ""
- Main.TextColor3 = Color3.fromRGB(0, 0, 0)
- Main.TextSize = 14.000
- SliderTop.Name = "SliderTop"
- SliderTop.Parent = Main
- SliderTop.Active = true
- SliderTop.AnchorPoint = Vector2.new(0.5, 0.5)
- SliderTop.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SliderTop.BackgroundTransparency = 1.000
- SliderTop.Position = UDim2.new(0.5, 0, 0.5, 0)
- SliderTop.Selectable = true
- SliderTop.Size = UDim2.new(1, 0, 1, 0)
- SliderTop.Image = "rbxassetid://3570695787"
- SliderTop.ImageColor3 = Color3.fromRGB(35,35,35)
- SliderTop.ScaleType = Enum.ScaleType.Slice
- SliderTop.SliceCenter = Rect.new(100, 100, 100, 100)
- SliderTop.SliceScale = 0.040
- SliderIner.Name = "SliderIner"
- SliderIner.Parent = Main
- SliderIner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SliderIner.BackgroundTransparency = 0.000
- SliderIner.Size = UDim2.new(0, 0, 0, 9)
- SliderIner.Image = "rbxassetid://3570695787"
- SliderIner.ImageColor3 = Color3.fromRGB(223, 225, 235)
- SliderIner.ScaleType = Enum.ScaleType.Slice
- SliderIner.SliceCenter = Rect.new(100, 100, 100, 100)
- SliderIner.SliceScale = 0.040
- Main.MouseButton1Down:Connect(function()
- Value = math.floor((((tonumber(maxvalue) - tonumber(minvalue)) / 288) * SliderIner.AbsoluteSize.X) + tonumber(minvalue)) or 0
- pcall(function()
- callback(Value)
- end)
- SliderIner.Size = UDim2.new(0, math.clamp(mouse.X - SliderIner.AbsolutePosition.X, 0, 288), 0, 16)
- moveconnection = mouse.Move:Connect(function()
- Num.Text = Value
- Value = math.floor((((tonumber(maxvalue) - tonumber(minvalue)) / 288) * SliderIner.AbsoluteSize.X) + tonumber(minvalue))
- pcall(function()
- callback(Value)
- end)
- SliderIner.Size = UDim2.new(0, math.clamp(mouse.X - SliderIner.AbsolutePosition.X, 0, 288), 0, 16)
- end)
- releaseconnection = uis.InputEnded:Connect(function(Mouse)
- if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
- Value = math.floor((((tonumber(maxvalue) - tonumber(minvalue)) / 288) * SliderIner.AbsoluteSize.X) + tonumber(minvalue))
- pcall(function()
- callback(Value)
- end)
- SliderIner.Size = UDim2.new(0, math.clamp(mouse.X - SliderIner.AbsolutePosition.X, 0, 288), 0, 16)
- moveconnection:Disconnect()
- releaseconnection:Disconnect()
- end
- end)
- end)
- end
- function InsideInsideLib:Label(text, Size)
- Tab.CanvasSize += UDim2.new(0, 0, .115, 0)
- local Label = Instance.new("ImageLabel")
- local Text = Instance.new("TextLabel")
- text = text or "New Lable"
- Size = Size or 15
- Label.Name = "Label"
- Label.Parent = Tab
- Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Label.BackgroundTransparency = 1.000
- Label.Position = UDim2.new(0.0685131177, 0, 0.383211672, 0)
- Label.Size = UDim2.new(0, 296, 0, 30)
- Label.Image = "rbxassetid://3570695787"
- Label.ImageColor3 = Color3.fromRGB(15, 15, 15)
- Label.ScaleType = Enum.ScaleType.Slice
- Label.SliceCenter = Rect.new(100, 100, 100, 100)
- Label.SliceScale = 0.040
- Text.Name = "Text"
- Text.Parent = Label
- Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Text.BackgroundTransparency = 1.000
- Text.BorderSizePixel = 0
- Text.Size = UDim2.new(0, 295, 0, 30)
- Text.Font = Enum.Font.GothamBold
- Text.TextColor3 = Color3.fromRGB(223, 225, 235)
- Text.TextSize = Size
- Text.Text = text
- end
- function InsideInsideLib:HotkeyLabel(name, key)
- Tab.CanvasSize += UDim2.new(0, 0, .115, 0)
- local HotkeyLabel = Instance.new("ImageLabel")
- local Text = Instance.new("TextLabel")
- local Frame = Instance.new("ImageLabel")
- local KeyText = Instance.new("TextLabel")
- local keyboard = Instance.new("ImageButton")
- name = name or "New Hotkey Label"
- HotkeyLabel.Name = "Hotkey Label"
- HotkeyLabel.Parent = Tab
- HotkeyLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- HotkeyLabel.BackgroundTransparency = 1.000
- HotkeyLabel.Position = UDim2.new(0.0685131177, 0, 0.383211672, 0)
- HotkeyLabel.Size = UDim2.new(0, 296, 0, 30)
- HotkeyLabel.Image = "rbxassetid://3570695787"
- HotkeyLabel.ImageColor3 = Color3.fromRGB(15, 15, 15)
- HotkeyLabel.ScaleType = Enum.ScaleType.Slice
- HotkeyLabel.SliceCenter = Rect.new(100, 100, 100, 100)
- HotkeyLabel.SliceScale = 0.040
- Text.Name = "Text"
- Text.Parent = HotkeyLabel
- Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Text.BackgroundTransparency = 1.000
- Text.BorderSizePixel = 0
- Text.Position = UDim2.new(0.111857235, 0, 0, 0)
- Text.Size = UDim2.new(0, 234, 0, 30)
- Text.Font = Enum.Font.GothamBold
- Text.TextColor3 = Color3.fromRGB(223, 225, 235)
- Text.TextSize = 14.000
- Text.Text = name
- Frame.Name = "Frame"
- Frame.Parent = HotkeyLabel
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BackgroundTransparency = 1.000
- Frame.Position = UDim2.new(0.905405402, 0, 0.100000001, 0)
- Frame.Size = UDim2.new(0, 24, 0, 24)
- Frame.Image = "rbxassetid://3570695787"
- Frame.ImageColor3 = Color3.fromRGB(35, 35, 35)
- Frame.ScaleType = Enum.ScaleType.Slice
- Frame.SliceCenter = Rect.new(100, 100, 100, 100)
- Frame.SliceScale = 0.040
- KeyText.Name = "KeyText"
- KeyText.Parent = Frame
- KeyText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- KeyText.BackgroundTransparency = 1.000
- KeyText.BorderSizePixel = 0
- KeyText.Size = UDim2.new(0, 24, 0, 24)
- KeyText.Font = Enum.Font.GothamBold
- KeyText.Text = key
- KeyText.TextColor3 = Color3.fromRGB(255, 255, 255)
- KeyText.TextSize = 19.000
- keyboard.Name = "keyboard"
- keyboard.Parent = HotkeyLabel
- keyboard.BackgroundTransparency = 1.000
- keyboard.Position = UDim2.new(0.0105058821, 0, -0.0303253178, 0)
- keyboard.Size = UDim2.new(0, 30, 0, 30)
- keyboard.ZIndex = 2
- keyboard.Image = "rbxassetid://3926305904"
- keyboard.ImageRectOffset = Vector2.new(724, 444)
- keyboard.ImageRectSize = Vector2.new(36, 36)
- end
- return InsideInsideLib;
- end
- return InsideLib;
- end
- return Lib;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement