Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:FindFirstChildOfClass("Players")
- local UserInput = game:FindFirstChildOfClass("UserInputService")
- local TweenServ = game:FindFirstChildOfClass("TweenService")
- local TweenInformation = TweenInfo.new(0.25)
- local LocalPlayer = Players.LocalPlayer
- local Library = {}
- local Tabbing = {}
- local Current = nil
- local SelectedTabButton = nil
- local SelectedTab = nil
- local Main = nil
- local TabList = nil
- local Tabs = nil
- local Assets = nil
- local C3RGB = Color3.fromRGB
- local ScreenGui = Instance.new("ScreenGui")
- task.spawn(function() -- let the gui create on other core
- local G2L = {};
- -- StarterGui.Light
- G2L["1"] = ScreenGui
- G2L["1"]["Name"] = [[Light]];
- -- StarterGui.Light.MainFrame
- G2L["2"] = Instance.new("Frame", G2L["1"]);
- G2L["2"]["BorderSizePixel"] = 0;
- G2L["2"]["BackgroundColor3"] = Color3.fromRGB(34, 34, 34);
- G2L["2"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["2"]["Size"] = UDim2.new(0, 450, 0, 300);
- G2L["2"]["Position"] = UDim2.new(0.4996, 0, 0.49882, 0);
- G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2"]["Name"] = [[MainFrame]];
- G2L["2"]["BackgroundTransparency"] = 0.25;
- local ae = Instance.new("ImageLabel", G2L["2"]);
- ae["BorderSizePixel"] = 0;
- ae["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- ae["ScaleType"] = Enum.ScaleType.Tile;
- ae["ImageTransparency"] = 0.75;
- ae["Image"] = [[rbxassetid://12975580993]];
- ae["TileSize"] = UDim2.new(0, 8, 0, 8);
- ae["Size"] = UDim2.new(1, 0, 1, 0);
- ae['Name'] = "SnowTiles"
- ae["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- ae["BackgroundTransparency"] = 1;
- ae.ZIndex=-1
- -- StarterGui.Light.MainFrame.UICorner
- G2L["3"] = Instance.new("UICorner", G2L["2"]);
- G2L["3"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Title
- G2L["4"] = Instance.new("TextLabel", G2L["2"]);
- G2L["4"]["BorderSizePixel"] = 0;
- G2L["4"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["4"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["4"]["TextTransparency"] = 0.25;
- G2L["4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["4"]["TextSize"] = 16;
- G2L["4"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["4"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["4"]["BackgroundTransparency"] = 1;
- G2L["4"]["Size"] = UDim2.new(0, 89, 0, 19);
- G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["4"]["Text"] = [[Krypton]];
- G2L["4"]["Name"] = [[Title]];
- G2L["4"]["Position"] = UDim2.new(0, 10, 0, 6);
- -- StarterGui.Light.MainFrame.TabList
- G2L["5"] = Instance.new("ScrollingFrame", G2L["2"]);
- G2L["5"]["Active"] = true;
- G2L["5"]["BorderSizePixel"] = 0;
- G2L["5"]["CanvasSize"] = UDim2.new(0, 0, 0, 0);
- G2L["5"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["5"]["Name"] = [[TabList]];
- G2L["5"]["AutomaticCanvasSize"] = Enum.AutomaticSize.Y;
- G2L["5"]["ClipsDescendants"] = false;
- G2L["5"]["Size"] = UDim2.new(0, 100, 0, 262);
- G2L["5"]["ScrollBarImageColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["5"]["Position"] = UDim2.new(0, 10, 0.13333, -10);
- G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["5"]["ScrollBarThickness"] = 0;
- G2L["5"]["BackgroundTransparency"] = 1;
- -- StarterGui.Light.MainFrame.TabList.UIListLayout
- G2L["6"] = Instance.new("UIListLayout", G2L["5"]);
- G2L["6"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["6"]["Padding"] = UDim.new(0, 2);
- G2L["6"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.Light.MainFrame.TabHandler
- G2L["7"] = Instance.new("Frame", G2L["2"]);
- G2L["7"]["BorderSizePixel"] = 0;
- G2L["7"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["7"]["ClipsDescendants"] = true;
- G2L["7"]["Size"] = UDim2.new(0, 325, 0, 274);
- G2L["7"]["Position"] = UDim2.new(0.256, 0, 0.08333, 0);
- G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["7"]["Name"] = [[TabHandler]];
- G2L["7"]["BackgroundTransparency"] = 1;
- -- StarterGui.Light.MainFrame.TabHandler.Tabs
- G2L["8"] = Instance.new("Folder", G2L["7"]);
- G2L["8"]["Name"] = [[Tabs]];
- -- StarterGui.Light.MainFrame.shadowHolder
- G2L["9"] = Instance.new("Frame", G2L["2"]);
- G2L["9"]["ZIndex"] = -1;
- G2L["9"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["9"]["Size"] = UDim2.new(1.02778, 0, 1.045, 0);
- G2L["9"]["Position"] = UDim2.new(0.5, 0, 0.49917, 0);
- G2L["9"]["Name"] = [[shadowHolder]];
- G2L["9"]["BackgroundTransparency"] = 1;
- -- StarterGui.Light.MainFrame.shadowHolder.umbraShadow
- G2L["a"] = Instance.new("ImageLabel", G2L["9"]);
- G2L["a"]["ZIndex"] = 0;
- G2L["a"]["SliceCenter"] = Rect.new(10, 10, 118, 118);
- G2L["a"]["ScaleType"] = Enum.ScaleType.Slice;
- G2L["a"]["ImageTransparency"] = 0.86;
- G2L["a"]["ImageColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["a"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["a"]["Image"] = [[rbxassetid://1316045217]];
- G2L["a"]["Size"] = UDim2.new(1, 4, 1, 4);
- G2L["a"]["BackgroundTransparency"] = 1;
- G2L["a"]["Name"] = [[umbraShadow]];
- G2L["a"]["Position"] = UDim2.new(0.5, 0, 0.5, 2);
- -- StarterGui.Light.MainFrame.shadowHolder.penumbraShadow
- G2L["b"] = Instance.new("ImageLabel", G2L["9"]);
- G2L["b"]["ZIndex"] = 0;
- G2L["b"]["SliceCenter"] = Rect.new(10, 10, 118, 118);
- G2L["b"]["ScaleType"] = Enum.ScaleType.Slice;
- G2L["b"]["ImageTransparency"] = 0.88;
- G2L["b"]["ImageColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["b"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["b"]["Image"] = [[rbxassetid://1316045217]];
- G2L["b"]["Size"] = UDim2.new(1, 4, 1, 4);
- G2L["b"]["BackgroundTransparency"] = 1;
- G2L["b"]["Name"] = [[penumbraShadow]];
- G2L["b"]["Position"] = UDim2.new(0.5, 0, 0.5, 2);
- -- StarterGui.Light.MainFrame.shadowHolder.ambientShadow
- G2L["c"] = Instance.new("ImageLabel", G2L["9"]);
- G2L["c"]["ZIndex"] = 0;
- G2L["c"]["SliceCenter"] = Rect.new(10, 10, 118, 118);
- G2L["c"]["ScaleType"] = Enum.ScaleType.Slice;
- G2L["c"]["ImageTransparency"] = 0.88;
- G2L["c"]["ImageColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["c"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["c"]["Image"] = [[rbxassetid://1316045217]];
- G2L["c"]["Size"] = UDim2.new(1, 4, 1, 4);
- G2L["c"]["BackgroundTransparency"] = 1;
- G2L["c"]["Name"] = [[ambientShadow]];
- G2L["c"]["Position"] = UDim2.new(0.5, 0, 0.5, 2);
- -- StarterGui.Light.MainFrame.ExitButton
- G2L["d"] = Instance.new("ImageButton", G2L["2"]);
- G2L["d"]["BorderSizePixel"] = 0;
- G2L["d"]["ScaleType"] = Enum.ScaleType.Fit;
- G2L["d"]["ImageTransparency"] = 0.35;
- G2L["d"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["d"]["Image"] = [[rbxasset://textures/AnimationEditor/button_popup_close.png]];
- G2L["d"]["Size"] = UDim2.new(0, 12, 0, 12);
- G2L["d"]["BackgroundTransparency"] = 1;
- G2L["d"]["Name"] = [[ExitButton]];
- G2L["d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["d"]["Position"] = UDim2.new(0.97286, -10, -0.00333, 10);
- -- StarterGui.Light.MainFrame.ExitPrompt
- G2L["e"] = Instance.new("Frame", G2L["2"]);
- G2L["e"]["Visible"] = false;
- G2L["e"]["ZIndex"] = 3;
- G2L["e"]["BorderSizePixel"] = 0;
- G2L["e"]["BackgroundColor3"] = Color3.fromRGB(48, 48, 48);
- G2L["e"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["e"]["ClipsDescendants"] = true;
- G2L["e"]["Size"] = UDim2.new(0, 209, 0, 69);
- G2L["e"]["Position"] = UDim2.new(0.5, 0, 5.5, 0);
- G2L["e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["e"]["Name"] = [[ExitPrompt]];
- G2L["e"]["BackgroundTransparency"] = 0.1;
- -- StarterGui.Light.MainFrame.ExitPrompt.ButtonCorner
- G2L["f"] = Instance.new("UICorner", G2L["e"]);
- G2L["f"]["Name"] = [[ButtonCorner]];
- G2L["f"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.ExitPrompt.UIStroke
- G2L["10"] = Instance.new("UIStroke", G2L["e"]);
- G2L["10"]["Transparency"] = 0.5;
- G2L["10"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["10"]["Thickness"] = 0.75;
- G2L["10"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.ExitPrompt.Yes
- G2L["11"] = Instance.new("TextButton", G2L["e"]);
- G2L["11"]["BorderSizePixel"] = 0;
- G2L["11"]["TextSize"] = 14;
- G2L["11"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["11"]["BackgroundColor3"] = Color3.fromRGB(138, 255, 102);
- G2L["11"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["11"]["ZIndex"] = 3;
- G2L["11"]["Size"] = UDim2.new(0, 89, 0, 21);
- G2L["11"]["BackgroundTransparency"] = 0.9;
- G2L["11"]["Name"] = [[Yes]];
- G2L["11"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["11"]["Text"] = [[ ]];
- G2L["11"]["Position"] = UDim2.new(0.05115, 0, 0.1465, 30);
- -- StarterGui.Light.MainFrame.ExitPrompt.Yes.UIStroke
- G2L["12"] = Instance.new("UIStroke", G2L["11"]);
- G2L["12"]["Transparency"] = 0.5;
- G2L["12"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["12"]["Thickness"] = 0.75;
- G2L["12"]["Color"] = Color3.fromRGB(38, 54, 23);
- -- StarterGui.Light.MainFrame.ExitPrompt.Yes.ButtonCorner
- G2L["13"] = Instance.new("UICorner", G2L["11"]);
- G2L["13"]["Name"] = [[ButtonCorner]];
- G2L["13"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.ExitPrompt.Yes.Label
- G2L["14"] = Instance.new("TextLabel", G2L["11"]);
- G2L["14"]["ZIndex"] = 3;
- G2L["14"]["BorderSizePixel"] = 0;
- G2L["14"]["TextStrokeColor3"] = Color3.fromRGB(219, 246, 209);
- G2L["14"]["TextTransparency"] = 0.25;
- G2L["14"]["BackgroundColor3"] = Color3.fromRGB(133, 255, 88);
- G2L["14"]["TextSize"] = 14;
- G2L["14"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["14"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["14"]["BackgroundTransparency"] = 1;
- G2L["14"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["14"]["Size"] = UDim2.new(0, 89, 0, 20);
- G2L["14"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["14"]["Text"] = [[Yeah go ahead!]];
- G2L["14"]["Name"] = [[Label]];
- G2L["14"]["Position"] = UDim2.new(0, 0, 0, 10);
- -- StarterGui.Light.MainFrame.ExitPrompt.Label
- G2L["15"] = Instance.new("TextLabel", G2L["e"]);
- G2L["15"]["ZIndex"] = 3;
- G2L["15"]["BorderSizePixel"] = 0;
- G2L["15"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["15"]["TextTransparency"] = 0.25;
- G2L["15"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["15"]["TextSize"] = 16;
- G2L["15"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["15"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["15"]["BackgroundTransparency"] = 1;
- G2L["15"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["15"]["Size"] = UDim2.new(0, 208, 0, 25);
- G2L["15"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["15"]["Text"] = [[Are you sure you wanna quit?]];
- G2L["15"]["Name"] = [[Label]];
- G2L["15"]["Position"] = UDim2.new(0, 0, 0, 19);
- -- StarterGui.Light.MainFrame.ExitPrompt.No
- G2L["16"] = Instance.new("TextButton", G2L["e"]);
- G2L["16"]["BorderSizePixel"] = 0;
- G2L["16"]["TextSize"] = 14;
- G2L["16"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["16"]["BackgroundColor3"] = Color3.fromRGB(255, 86, 86);
- G2L["16"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["16"]["ZIndex"] = 3;
- G2L["16"]["Size"] = UDim2.new(0, 89, 0, 21);
- G2L["16"]["BackgroundTransparency"] = 0.9;
- G2L["16"]["Name"] = [[No]];
- G2L["16"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["16"]["Text"] = [[ ]];
- G2L["16"]["Position"] = UDim2.new(0.53583, 0, 0.1465, 30);
- -- StarterGui.Light.MainFrame.ExitPrompt.No.UIStroke
- G2L["17"] = Instance.new("UIStroke", G2L["16"]);
- G2L["17"]["Transparency"] = 0.5;
- G2L["17"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["17"]["Thickness"] = 0.75;
- G2L["17"]["Color"] = Color3.fromRGB(99, 29, 29);
- -- StarterGui.Light.MainFrame.ExitPrompt.No.ButtonCorner
- G2L["18"] = Instance.new("UICorner", G2L["16"]);
- G2L["18"]["Name"] = [[ButtonCorner]];
- G2L["18"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.ExitPrompt.No.Label
- G2L["19"] = Instance.new("TextLabel", G2L["16"]);
- G2L["19"]["ZIndex"] = 3;
- G2L["19"]["BorderSizePixel"] = 0;
- G2L["19"]["TextStrokeColor3"] = Color3.fromRGB(246, 200, 200);
- G2L["19"]["TextTransparency"] = 0.25;
- G2L["19"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["19"]["TextSize"] = 14;
- G2L["19"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["19"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["19"]["BackgroundTransparency"] = 1;
- G2L["19"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["19"]["Size"] = UDim2.new(0, 89, 0, 20);
- G2L["19"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["19"]["Text"] = [[Not feelin it.]];
- G2L["19"]["Name"] = [[Label]];
- G2L["19"]["Position"] = UDim2.new(0, 0, 0, 10);
- -- StarterGui.Light.MainFrame.Assets
- G2L["1a"] = Instance.new("Folder", G2L["2"]);
- G2L["1a"]["Name"] = [[Assets]];
- -- StarterGui.Light.MainFrame.Assets.Label
- G2L["1b"] = Instance.new("Frame", G2L["1a"]);
- G2L["1b"]["Visible"] = false;
- G2L["1b"]["BorderSizePixel"] = 0;
- G2L["1b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 202);
- G2L["1b"]["ClipsDescendants"] = true;
- G2L["1b"]["Size"] = UDim2.new(0, 315, 0, 30);
- G2L["1b"]["Position"] = UDim2.new(0.0295, 0, 0.2594, 0);
- G2L["1b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["1b"]["Name"] = [[Label]];
- G2L["1b"]["BackgroundTransparency"] = 0.9;
- -- StarterGui.Light.MainFrame.Assets.Label.ButtonCorner
- G2L["1c"] = Instance.new("UICorner", G2L["1b"]);
- G2L["1c"]["Name"] = [[ButtonCorner]];
- G2L["1c"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Assets.Label.UIStroke
- G2L["1d"] = Instance.new("UIStroke", G2L["1b"])
- G2L["1d"]["Transparency"] = 0.5;
- G2L["1d"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["1d"]["Thickness"] = 0.75;
- G2L["1d"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Label.Label
- G2L["1e"] = Instance.new("TextLabel", G2L["1b"]);
- G2L["1e"]["BorderSizePixel"] = 0;
- G2L["1e"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["1e"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["1e"]["TextTransparency"] = 0.25;
- G2L["1e"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["1e"]["TextSize"] = 16;
- G2L["1e"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["1e"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["1e"]["BackgroundTransparency"] = 1;
- G2L["1e"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["1e"]["Size"] = UDim2.new(0, 264, 0, 16);
- G2L["1e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["1e"]["Name"] = [[Label]];
- G2L["1e"]["Position"] = UDim2.new(0, 10, 0, 15);
- -- StarterGui.Light.MainFrame.Assets.Label.Description
- G2L["1f"] = Instance.new("TextLabel", G2L["1b"]);
- G2L["1f"]["TextWrapped"] = true;
- G2L["1f"]["BorderSizePixel"] = 0;
- G2L["1f"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["1f"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["1f"]["TextTransparency"] = 0.25;
- G2L["1f"]["TextYAlignment"] = Enum.TextYAlignment.Top;
- G2L["1f"]["RichText"] = true
- G2L["1f"]["AutomaticSize"] = Enum.AutomaticSize.Y
- G2L["1f"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["1f"]["TextSize"] = 14;
- G2L["1f"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["1f"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["1f"]["BackgroundTransparency"] = 1;
- G2L["1f"]["AnchorPoint"] = Vector2.new(0, 0);
- G2L["1f"]["Size"] = UDim2.new(0, 299, 0, 30);
- G2L["1f"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["1f"]["Text"] = [[ ]];
- G2L["1f"]["Name"] = [[Description]];
- G2L["1f"]["Position"] = UDim2.new(0, 10, 0, 44);
- -- StarterGui.Light.MainFrame.Assets.Textbox
- G2L["20"] = Instance.new("Frame", G2L["1a"]);
- G2L["20"]["Visible"] = false;
- G2L["20"]["BorderSizePixel"] = 0;
- G2L["20"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["20"]["ClipsDescendants"] = true;
- G2L["20"]["Size"] = UDim2.new(0, 315, 0, 30);
- G2L["20"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["20"]["Name"] = [[Textbox]];
- G2L["20"]["BackgroundTransparency"] = 0.9;
- -- StarterGui.Light.MainFrame.Assets.Textbox.ButtonCorner
- G2L["21"] = Instance.new("UICorner", G2L["20"]);
- G2L["21"]["Name"] = [[ButtonCorner]];
- G2L["21"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Assets.Textbox.TextBox
- G2L["22"] = Instance.new("TextBox", G2L["20"]);
- G2L["22"]["CursorPosition"] = -1;
- G2L["22"]["TextColor3"] = Color3.fromRGB(167, 167, 167);
- G2L["22"]["PlaceholderColor3"] = Color3.fromRGB(136, 136, 136);
- G2L["22"]["BorderSizePixel"] = 0;
- G2L["22"]["TextWrapped"] = true;
- G2L["22"]["TextTransparency"] = 0.25;
- G2L["22"]["TextStrokeColor3"] = Color3.fromRGB(228, 228, 228);
- G2L["22"]["TextSize"] = 14;
- G2L["22"]["TextScaled"] = true;
- G2L["22"]["BackgroundColor3"] = Color3.fromRGB(21, 21, 21);
- G2L["22"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["22"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["22"]["PlaceholderText"] = [[Input There]];
- G2L["22"]["Size"] = UDim2.new(0, 73, 0, 17);
- G2L["22"]["Position"] = UDim2.new(0.859, 0, 0, 15);
- G2L["22"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["22"]["Text"] = [[]];
- G2L["22"]["BackgroundTransparency"] = 0.8;
- -- StarterGui.Light.MainFrame.Assets.Textbox.TextBox.ButtonCorner
- G2L["23"] = Instance.new("UICorner", G2L["22"]);
- G2L["23"]["Name"] = [[ButtonCorner]];
- G2L["23"]["CornerRadius"] = UDim.new(0, 2);
- -- StarterGui.Light.MainFrame.Assets.Textbox.TextBox.UIStroke
- G2L["24"] = Instance.new("UIStroke", G2L["22"]);
- G2L["24"]["Transparency"] = 0.5;
- G2L["24"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["24"]["Thickness"] = 0.75;
- G2L["24"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Textbox.TextBox.UITextSizeConstraint
- G2L["25"] = Instance.new("UITextSizeConstraint", G2L["22"]);
- G2L["25"]["MaxTextSize"] = 14;
- -- StarterGui.Light.MainFrame.Assets.Textbox.UIStroke
- G2L["26"] = Instance.new("UIStroke", G2L["20"]);
- G2L["26"]["Transparency"] = 0.5;
- G2L["26"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["26"]["Thickness"] = 0.75;
- G2L["26"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Textbox.Label
- G2L["27"] = Instance.new("TextLabel", G2L["20"]);
- G2L["27"]["BorderSizePixel"] = 0;
- G2L["27"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["27"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["27"]["TextTransparency"] = 0.25;
- G2L["27"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["27"]["TextSize"] = 16;
- G2L["27"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["27"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["27"]["BackgroundTransparency"] = 1;
- G2L["27"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["27"]["Size"] = UDim2.new(0, 264, 0, 16);
- G2L["27"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["27"]["Name"] = [[Label]];
- G2L["27"]["Position"] = UDim2.new(0, 10, 0, 15);
- -- StarterGui.Light.MainFrame.Assets.Textbox.Description
- G2L["28"] = Instance.new("TextLabel", G2L["20"]);
- G2L["28"]["TextWrapped"] = true;
- G2L["28"]["BorderSizePixel"] = 0;
- G2L["28"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["28"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["28"]["TextTransparency"] = 0.25;
- G2L["28"]["TextYAlignment"] = Enum.TextYAlignment.Top;
- G2L["28"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["28"]["TextSize"] = 14;
- G2L["28"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["28"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["28"]["BackgroundTransparency"] = 1;
- G2L["28"]["RichText"] = true
- G2L["28"]["AutomaticSize"] = Enum.AutomaticSize.Y
- G2L["28"]["AnchorPoint"] = Vector2.new(0, 0);
- G2L["28"]["Size"] = UDim2.new(0, 299, 0, 30);
- G2L["28"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["28"]["Text"] = [[ ]];
- G2L["28"]["Name"] = [[Description]];
- G2L["28"]["Position"] = UDim2.new(0, 10, 0, 44);
- -- StarterGui.Light.MainFrame.Assets.Button
- G2L["29"] = Instance.new("TextButton", G2L["1a"]);
- G2L["29"]["BorderSizePixel"] = 0;
- G2L["29"]["AutoButtonColor"] = false;
- G2L["29"]["TextTransparency"] = 0.25;
- G2L["29"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["29"]["TextSize"] = 16;
- G2L["29"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["29"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["29"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["29"]["Size"] = UDim2.new(0, 315, 0, 30);
- G2L["29"]["BackgroundTransparency"] = 0.9;
- G2L["29"]["Name"] = [[Button]];
- G2L["29"]["ClipsDescendants"] = true;
- G2L["29"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["29"]["Text"] = [[ ]];
- G2L["29"]["Visible"] = false;
- -- StarterGui.Light.MainFrame.Assets.Button.ButtonCorner
- G2L["2a"] = Instance.new("UICorner", G2L["29"]);
- G2L["2a"]["Name"] = [[ButtonCorner]];
- G2L["2a"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Assets.Button.UIStroke
- G2L["2b"] = Instance.new("UIStroke", G2L["29"]);
- G2L["2b"]["Transparency"] = 0.5;
- G2L["2b"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["2b"]["Thickness"] = 0.75;
- G2L["2b"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Button.Label
- G2L["2c"] = Instance.new("TextLabel", G2L["29"]);
- G2L["2c"]["BorderSizePixel"] = 0;
- G2L["2c"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2c"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["2c"]["TextTransparency"] = 0.25;
- G2L["2c"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2c"]["TextSize"] = 16;
- G2L["2c"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["2c"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["2c"]["BackgroundTransparency"] = 1;
- G2L["2c"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["2c"]["Size"] = UDim2.new(0, 264, 0, 16);
- G2L["2c"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2c"]["Name"] = [[Label]];
- G2L["2c"]["Position"] = UDim2.new(0, 10, 0, 15);
- -- StarterGui.Light.MainFrame.Assets.Button.Description
- G2L["2d"] = Instance.new("TextLabel", G2L["29"]);
- G2L["2d"]["TextWrapped"] = true;
- G2L["2d"]["BorderSizePixel"] = 0;
- G2L["2d"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2d"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["2d"]["TextTransparency"] = 0.25;
- G2L["2d"]["TextYAlignment"] = Enum.TextYAlignment.Top;
- G2L["2d"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2d"]["TextSize"] = 14;
- G2L["2d"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["2d"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["2d"]["BackgroundTransparency"] = 1;
- G2L["2d"]["RichText"] = true
- G2L["2d"]["AutomaticSize"] = Enum.AutomaticSize.Y
- G2L["2d"]["AnchorPoint"] = Vector2.new(0, 0);
- G2L["2d"]["Size"] = UDim2.new(0, 299, 0, 30);
- G2L["2d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2d"]["Text"] = [[ ]];
- G2L["2d"]["Name"] = [[Description]];
- G2L["2d"]["Position"] = UDim2.new(0, 10, 0, 44);
- -- StarterGui.Light.MainFrame.Assets.TabButton
- G2L["2e"] = Instance.new("TextButton", G2L["1a"]);
- G2L["2e"]["BorderSizePixel"] = 0;
- G2L["2e"]["TextTransparency"] = 0.25;
- G2L["2e"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2e"]["TextSize"] = 16;
- G2L["2e"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["2e"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2e"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["2e"]["Size"] = UDim2.new(0, 91, 0, 20);
- G2L["2e"]["BackgroundTransparency"] = 1;
- G2L["2e"]["Name"] = [[TabButton]];
- G2L["2e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2e"]["Text"] = [[Config]];
- G2L["2e"]["Visible"] = false;
- -- StarterGui.Light.MainFrame.Assets.TabButton.UICorner
- G2L["2f"] = Instance.new("UICorner", G2L["2e"]);
- G2L["2f"]["CornerRadius"] = UDim.new(0, 2);
- -- StarterGui.Light.MainFrame.Assets.Toggle
- G2L["30"] = Instance.new("TextButton", G2L["1a"]);
- G2L["30"]["BorderSizePixel"] = 0;
- G2L["30"]["AutoButtonColor"] = false;
- G2L["30"]["TextTransparency"] = 0.25;
- G2L["30"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["30"]["TextSize"] = 16;
- G2L["30"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["30"]["BackgroundColor3"] = Color3.fromRGB(255, 175, 175);
- G2L["30"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["30"]["Size"] = UDim2.new(0, 315, 0, 30);
- G2L["30"]["BackgroundTransparency"] = 0.9;
- G2L["30"]["Name"] = [[Toggle]];
- G2L["30"]["ClipsDescendants"] = true;
- G2L["30"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["30"]["Text"] = [[ ]];
- G2L["30"]["Visible"] = false;
- G2L["30"]["Position"] = UDim2.new(0.01087, 0, 0.02256, 0);
- -- StarterGui.Light.MainFrame.Assets.Toggle.ButtonCorner
- G2L["31"] = Instance.new("UICorner", G2L["30"]);
- G2L["31"]["Name"] = [[ButtonCorner]];
- G2L["31"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Assets.Toggle.Label
- G2L["32"] = Instance.new("TextLabel", G2L["30"]);
- G2L["32"]["BorderSizePixel"] = 0;
- G2L["32"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["32"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["32"]["TextTransparency"] = 0.25;
- G2L["32"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["32"]["TextSize"] = 16;
- G2L["32"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["32"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["32"]["BackgroundTransparency"] = 1;
- G2L["32"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["32"]["Size"] = UDim2.new(0, 264, 0, 16);
- G2L["32"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["32"]["Name"] = [[Label]];
- G2L["32"]["Position"] = UDim2.new(0, 10, 0, 15);
- -- StarterGui.Light.MainFrame.Assets.Toggle.UIStroke
- G2L["33"] = Instance.new("UIStroke", G2L["30"]);
- G2L["33"]["Transparency"] = 0.5;
- G2L["33"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["33"]["Thickness"] = 0.75;
- G2L["33"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Toggle.Description
- G2L["34"] = Instance.new("TextLabel", G2L["30"]);
- G2L["34"]["TextWrapped"] = true;
- G2L["34"]["BorderSizePixel"] = 0;
- G2L["34"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["34"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["34"]["TextTransparency"] = 0.25;
- G2L["34"]["TextYAlignment"] = Enum.TextYAlignment.Top;
- G2L["34"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["34"]["TextSize"] = 14;
- G2L["34"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["34"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["34"]["BackgroundTransparency"] = 1;
- G2L["34"]["RichText"] = true
- G2L["34"]["AutomaticSize"] = Enum.AutomaticSize.Y
- G2L["34"]["AnchorPoint"] = Vector2.new(0, 0);
- G2L["34"]["Size"] = UDim2.new(0, 299, 0, 30);
- G2L["34"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["34"]["Text"] = [[ ]];
- G2L["34"]["Name"] = [[Description]];
- G2L["34"]["Position"] = UDim2.new(0, 10, 0, 44);
- -- StarterGui.Light.MainFrame.Assets.Slider
- G2L["35"] = Instance.new("Frame", G2L["1a"]);
- G2L["35"]["Visible"] = false;
- G2L["35"]["BorderSizePixel"] = 0;
- G2L["35"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["35"]["ClipsDescendants"] = true;
- G2L["35"]["Size"] = UDim2.new(0, 315, 0, 55);
- G2L["35"]["Position"] = UDim2.new(0.01087, 0, 0.02256, 0);
- G2L["35"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["35"]["Name"] = [[Slider]];
- G2L["35"]["BackgroundTransparency"] = 0.9;
- -- StarterGui.Light.MainFrame.Assets.Slider.ButtonCorner
- G2L["36"] = Instance.new("UICorner", G2L["35"]);
- G2L["36"]["Name"] = [[ButtonCorner]];
- G2L["36"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Assets.Slider.UIStroke
- G2L["37"] = Instance.new("UIStroke", G2L["35"]);
- G2L["37"]["Transparency"] = 0.5;
- G2L["37"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["37"]["Thickness"] = 0.75;
- G2L["37"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Slider.SliderHold
- G2L["38"] = Instance.new("TextButton", G2L["35"]);
- G2L["38"]["BorderSizePixel"] = 0;
- G2L["38"]["AutoButtonColor"] = false;
- G2L["38"]["TextSize"] = 14;
- G2L["38"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["38"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["38"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["38"]["Size"] = UDim2.new(0, 297, 0, 16);
- G2L["38"]["BackgroundTransparency"] = 0.9;
- G2L["38"]["Name"] = [[SliderHold]];
- G2L["38"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["38"]["Text"] = [[ ]];
- G2L["38"]["Position"] = UDim2.new(0.032, 0, 0, 30);
- -- StarterGui.Light.MainFrame.Assets.Slider.SliderHold.UIStroke
- G2L["39"] = Instance.new("UIStroke", G2L["38"]);
- G2L["39"]["Transparency"] = 0.5;
- G2L["39"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["39"]["Thickness"] = 0.75;
- G2L["39"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Slider.SliderHold.SliderDecor
- G2L["3a"] = Instance.new("Frame", G2L["38"]);
- G2L["3a"]["BorderSizePixel"] = 0;
- G2L["3a"]["BackgroundColor3"] = Color3.fromRGB(255, 185, 185);
- G2L["3a"]["Size"] = UDim2.new(0, 0, 0, 16);
- G2L["3a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["3a"]["Name"] = [[SliderDecor]];
- G2L["3a"]["BackgroundTransparency"] = 0.8;
- -- StarterGui.Light.MainFrame.Assets.Slider.SliderHold.SliderDecor.ButtonCorner
- G2L["3b"] = Instance.new("UICorner", G2L["3a"]);
- G2L["3b"]["Name"] = [[ButtonCorner]];
- G2L["3b"]["CornerRadius"] = UDim.new(0, 2);
- -- StarterGui.Light.MainFrame.Assets.Slider.SliderHold.Value
- G2L["3c"] = Instance.new("TextLabel", G2L["38"]);
- G2L["3c"]["BorderSizePixel"] = 0;
- G2L["3c"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["3c"]["TextXAlignment"] = Enum.TextXAlignment.Right;
- G2L["3c"]["TextTransparency"] = 0.25;
- G2L["3c"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["3c"]["TextSize"] = 16;
- G2L["3c"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["3c"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["3c"]["BackgroundTransparency"] = 1;
- G2L["3c"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["3c"]["Size"] = UDim2.new(0, 38, 0, 14);
- G2L["3c"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["3c"]["Text"] = [[10]];
- G2L["3c"]["Name"] = [[Value]];
- G2L["3c"]["Position"] = UDim2.new(0.8381, 10, -1.25292, 5);
- -- StarterGui.Light.MainFrame.Assets.Slider.SliderHold.ButtonCorner
- G2L["3d"] = Instance.new("UICorner", G2L["38"]);
- G2L["3d"]["Name"] = [[ButtonCorner]];
- G2L["3d"]["CornerRadius"] = UDim.new(0, 2);
- -- StarterGui.Light.MainFrame.Assets.Slider.Label
- G2L["3e"] = Instance.new("TextLabel", G2L["35"]);
- G2L["3e"]["BorderSizePixel"] = 0;
- G2L["3e"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["3e"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["3e"]["TextTransparency"] = 0.25;
- G2L["3e"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["3e"]["TextSize"] = 16;
- G2L["3e"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["3e"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["3e"]["BackgroundTransparency"] = 1;
- G2L["3e"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["3e"]["Size"] = UDim2.new(0, 264, 0, 16);
- G2L["3e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["3e"]["Name"] = [[Label]];
- G2L["3e"]["Position"] = UDim2.new(0, 10, 0, 15);
- -- StarterGui.Light.MainFrame.Assets.Slider.Description
- G2L["3f"] = Instance.new("TextLabel", G2L["35"]);
- G2L["3f"]["TextWrapped"] = true;
- G2L["3f"]["BorderSizePixel"] = 0;
- G2L["3f"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["3f"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["3f"]["TextTransparency"] = 0.25;
- G2L["3f"]["TextYAlignment"] = Enum.TextYAlignment.Top;
- G2L["3f"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["3f"]["TextSize"] = 14;
- G2L["3f"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["3f"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["3f"]["BackgroundTransparency"] = 1;
- G2L["3f"]["RichText"] = true
- G2L["3f"]["AutomaticSize"] = Enum.AutomaticSize.Y
- G2L["3f"]["AnchorPoint"] = Vector2.new(0, 0);
- G2L["3f"]["Size"] = UDim2.new(0, 299, 0, 30);
- G2L["3f"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["3f"]["Text"] = [[]];
- G2L["3f"]["Name"] = [[Description]];
- G2L["3f"]["Position"] = UDim2.new(0, 10, 0, 69);
- -- StarterGui.Light.MainFrame.Assets.DropdownOption
- G2L["40"] = Instance.new("TextButton", G2L["1a"]);
- G2L["40"]["BorderSizePixel"] = 0;
- G2L["40"]["TextTransparency"] = 0.25;
- G2L["40"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["40"]["TextSize"] = 16;
- G2L["40"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["40"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["40"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["40"]["Size"] = UDim2.new(0, 285, 0, 20);
- G2L["40"]["BackgroundTransparency"] = 0.95;
- G2L["40"]["Name"] = [[DropdownOption]];
- G2L["40"]["ClipsDescendants"] = true;
- G2L["40"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["40"]["Text"] = [[ ]];
- G2L["40"]["Visible"] = false;
- G2L["40"]["Position"] = UDim2.new(0, 0, 0.04615, 0);
- -- StarterGui.Light.MainFrame.Assets.DropdownOption.ButtonCorner
- G2L["41"] = Instance.new("UICorner", G2L["40"]);
- G2L["41"]["Name"] = [[ButtonCorner]];
- G2L["41"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Assets.DropdownOption.Label
- G2L["42"] = Instance.new("TextLabel", G2L["40"]);
- G2L["42"]["BorderSizePixel"] = 0;
- G2L["42"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["42"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["42"]["TextTransparency"] = 0.25;
- G2L["42"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["42"]["TextSize"] = 14;
- G2L["42"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["42"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["42"]["BackgroundTransparency"] = 1;
- G2L["42"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["42"]["Size"] = UDim2.new(0, 264, 0, 20);
- G2L["42"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["42"]["Text"] = [[Option 1]];
- G2L["42"]["Name"] = [[Label]];
- G2L["42"]["Position"] = UDim2.new(0, 10, 0, 10);
- -- StarterGui.Light.MainFrame.Assets.Dropdown
- G2L["43"] = Instance.new("TextButton", G2L["1a"]);
- G2L["43"]["BorderSizePixel"] = 0;
- G2L["43"]["AutoButtonColor"] = false;
- G2L["43"]["TextTransparency"] = 0.25;
- G2L["43"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["43"]["TextSize"] = 16;
- G2L["43"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["43"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["43"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["43"]["Size"] = UDim2.new(0, 315, 0, 30);
- G2L["43"]["BackgroundTransparency"] = 0.9;
- G2L["43"]["Name"] = [[Dropdown]];
- G2L["43"]["ClipsDescendants"] = true;
- G2L["43"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["43"]["Text"] = [[ ]];
- G2L["43"]["Visible"] = false;
- G2L["43"]["Position"] = UDim2.new(0.01087, 0, 0.0188, 0);
- -- StarterGui.Light.MainFrame.Assets.Dropdown.ButtonCorner
- G2L["44"] = Instance.new("UICorner", G2L["43"]);
- G2L["44"]["Name"] = [[ButtonCorner]];
- G2L["44"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.Light.MainFrame.Assets.Dropdown.UIStroke
- G2L["45"] = Instance.new("UIStroke", G2L["43"]);
- G2L["45"]["Transparency"] = 0.5;
- G2L["45"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["45"]["Thickness"] = 0.75;
- G2L["45"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Dropdown.Label
- G2L["46"] = Instance.new("TextLabel", G2L["43"]);
- G2L["46"]["BorderSizePixel"] = 0;
- G2L["46"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["46"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["46"]["TextTransparency"] = 0.25;
- G2L["46"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["46"]["TextSize"] = 16;
- G2L["46"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["46"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["46"]["BackgroundTransparency"] = 1;
- G2L["46"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["46"]["Size"] = UDim2.new(0, 192, 0, 16);
- G2L["46"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["46"]["Text"] = [[Select your agent:]];
- G2L["46"]["Name"] = [[Label]];
- G2L["46"]["Position"] = UDim2.new(0, 10, 0, 15);
- -- StarterGui.Light.MainFrame.Assets.Dropdown.Description
- G2L["47"] = Instance.new("TextLabel", G2L["43"]);
- G2L["47"]["TextWrapped"] = true;
- G2L["47"]["BorderSizePixel"] = 0;
- G2L["47"]["TextStrokeColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["47"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["47"]["TextTransparency"] = 0.25;
- G2L["47"]["TextYAlignment"] = Enum.TextYAlignment.Top;
- G2L["47"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["47"]["TextSize"] = 14;
- G2L["47"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["47"]["TextColor3"] = Color3.fromRGB(223, 223, 223);
- G2L["47"]["BackgroundTransparency"] = 1;
- G2L["47"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["47"]["Size"] = UDim2.new(0, 299, 0, 28);
- G2L["47"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["47"]["Text"] = [[Description]];
- G2L["47"]["Name"] = [[Description]];
- G2L["47"]["Position"] = UDim2.new(0, 10, 0, 44);
- -- StarterGui.Light.MainFrame.Assets.Dropdown.SelectedOption
- G2L["48"] = Instance.new("TextLabel", G2L["43"]);
- G2L["48"]["BorderSizePixel"] = 0;
- G2L["48"]["TextStrokeColor3"] = Color3.fromRGB(141, 179, 196);
- G2L["48"]["TextXAlignment"] = Enum.TextXAlignment.Right;
- G2L["48"]["TextTransparency"] = 0.25;
- G2L["48"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["48"]["TextSize"] = 16;
- G2L["48"]["FontFace"] = Font.new([[rbxassetid://12187370747]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["48"]["TextColor3"] = Color3.fromRGB(160, 203, 223);
- G2L["48"]["BackgroundTransparency"] = 1;
- G2L["48"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["48"]["Size"] = UDim2.new(0, 98, 0, 16);
- G2L["48"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["48"]["Text"] = [[nil]];
- G2L["48"]["Name"] = [[SelectedOption]];
- G2L["48"]["Position"] = UDim2.new(0, 202, 0, 15);
- -- StarterGui.Light.MainFrame.Assets.Dropdown.DropDownInfo
- G2L["49"] = Instance.new("Frame", G2L["43"]);
- G2L["49"]["BorderSizePixel"] = 0;
- G2L["49"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["49"]["Size"] = UDim2.new(0, 301, 0, 52);
- G2L["49"]["Position"] = UDim2.new(0, 8, 0, 65);
- G2L["49"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["49"]["Name"] = [[DropDownInfo]];
- G2L["49"]["BackgroundTransparency"] = 1;
- -- StarterGui.Light.MainFrame.Assets.Dropdown.DropDownInfo.ScrollingFrame
- G2L["4a"] = Instance.new("ScrollingFrame", G2L["49"]);
- G2L["4a"]["Active"] = true;
- G2L["4a"]["BorderSizePixel"] = 0;
- G2L["4a"]["CanvasSize"] = UDim2.new(0, 0, 0, 0);
- G2L["4a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["4a"]["AutomaticCanvasSize"] = Enum.AutomaticSize.Y;
- G2L["4a"]["Size"] = UDim2.new(0, 301, 0, 46);
- G2L["4a"]["Position"] = UDim2.new(0, 0, 0.05987, 0);
- G2L["4a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["4a"]["ScrollBarThickness"] = 1;
- G2L["4a"]["BackgroundTransparency"] = 1;
- -- StarterGui.Light.MainFrame.Assets.Dropdown.DropDownInfo.ScrollingFrame.UIListLayout
- G2L["4b"] = Instance.new("UIListLayout", G2L["4a"]);
- G2L["4b"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["4b"]["Padding"] = UDim.new(0, 2);
- G2L["4b"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.Light.MainFrame.Assets.Dropdown.DropDownInfo.UIStroke
- G2L["4c"] = Instance.new("UIStroke", G2L["49"]);
- G2L["4c"]["Transparency"] = 0.5;
- G2L["4c"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- G2L["4c"]["Thickness"] = 0.75;
- G2L["4c"]["Color"] = Color3.fromRGB(212, 212, 212);
- -- StarterGui.Light.MainFrame.Assets.Dropdown.DropDownInfo.UICorner
- G2L["4d"] = Instance.new("UICorner", G2L["49"]);
- G2L["4d"]["CornerRadius"] = UDim.new(0, 2);
- -- StarterGui.Light.MainFrame.Assets.Tab
- G2L["4e"] = Instance.new("ScrollingFrame", G2L["1a"]);
- G2L["4e"]["Visible"] = false;
- G2L["4e"]["Active"] = true;
- G2L["4e"]["BorderSizePixel"] = 0;
- G2L["4e"]["CanvasSize"] = UDim2.new(0, 0, 0, 0);
- G2L["4e"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["4e"]["Name"] = [[Tab]];
- G2L["4e"]["AutomaticCanvasSize"] = Enum.AutomaticSize.Y;
- G2L["4e"]["Size"] = UDim2.new(0, 322, 0, 265);
- G2L["4e"]["ScrollBarImageColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["4e"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["4e"]["ScrollBarThickness"] = 0;
- G2L["4e"]["BackgroundTransparency"] = 1;
- -- StarterGui.Light.MainFrame.Assets.Tab.UIListLayout
- G2L["4f"] = Instance.new("UIListLayout", G2L["4e"]);
- G2L["4f"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["4f"]["Padding"] = UDim.new(0, 5);
- G2L["4f"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.Light.MainFrame.Assets.Tab.FillerTop
- G2L["50"] = Instance.new("Frame", G2L["4e"]);
- G2L["50"]["BorderSizePixel"] = 0;
- G2L["50"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["50"]["Size"] = UDim2.new(0, 100, 0, 1);
- G2L["50"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["50"]["Name"] = [[FillerTop]];
- G2L["50"]["BackgroundTransparency"] = 1;
- -- StarterGui.Light.MainFrame.Assets.Tab.FillerBottom
- G2L["51"] = Instance.new("Frame", G2L["4e"]);
- G2L["51"]["BorderSizePixel"] = 0;
- G2L["51"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["51"]["Size"] = UDim2.new(0, 100, 0, 1);
- G2L["51"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["51"]["Name"] = [[FillerBottom]];
- G2L["51"]["BackgroundTransparency"] = 1;
- end)
- local function ApplyPropertyTween(GuiObject, Information)
- local Tweening = TweenServ:Create(GuiObject, TweenInformation, Information)
- Tweening.Completed:Connect(function()
- Tweening:Destroy()
- end)
- Tweening:Play()
- end
- local function ApplyTextGlowingHover(GuiObject, TouchedObject)
- local TouchedObject = TouchedObject or GuiObject
- TouchedObject.MouseEnter:Connect(function()
- ApplyPropertyTween(GuiObject, {TextStrokeTransparency=0.85})
- end)
- TouchedObject.MouseLeave:Connect(function()
- ApplyPropertyTween(GuiObject, {TextStrokeTransparency=1})
- end)
- end
- local function ApplyAutoResize(GuiObject, TextObject)
- local OriginalPosition = TextObject.Position
- TextObject:GetPropertyChangedSignal("Text"):Connect(function()
- TextObject.Position = OriginalPosition + UDim2.new(0,0,0,TextObject.TextBounds.Y-16)
- end)
- TextObject.Position = OriginalPosition + UDim2.new(0,0,0,TextObject.TextBounds.Y-16)
- local OldSize = GuiObject.Size
- GuiObject.MouseEnter:Connect(function()
- GuiObject:TweenSize(UDim2.new(0, OldSize.X.Offset, 0, OldSize.Y.Offset + (TextObject.AbsoluteSize.Y + 10) ), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)
- end)
- GuiObject.MouseLeave:Connect(function()
- GuiObject:TweenSize(OldSize, Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.2, true)
- end)
- end
- Library.Create = function(self)
- Current = ScreenGui:Clone()
- Current.ResetOnSpawn = false
- Main = Current:WaitForChild("MainFrame")
- Assets = Main:WaitForChild("Assets")
- TabList = Main:WaitForChild("TabList")
- Tabs = Main:WaitForChild("TabHandler"):WaitForChild("Tabs")
- local ExitPrompt = Main:WaitForChild("ExitPrompt")
- local Exit = Main:WaitForChild("ExitButton")
- local SnowTiles = Main:WaitForChild("SnowTiles")
- local Draggy = Instance.new("Frame")
- Draggy.Size = UDim2.new(0, 450,0, 25)
- Draggy.Position = UDim2.new(0,0,0,0)
- Draggy.Transparency = 0.99
- Draggy.Parent = Main
- local iscoregui = pcall(function() game:GetService("CoreGui") end)
- local dragging
- local dragInput
- local dragStart
- local startPos
- ExitPrompt.Visible = true
- Current.Enabled = true
- Current.Parent = (gethui and gethui()) or (not iscoregui and game:FindFirstChildOfClass("CoreGui")) or LocalPlayer.PlayerGui
- Main.MouseEnter:Connect(function()
- ApplyPropertyTween(Main, {["Transparency"]=0.25})
- ApplyPropertyTween(SnowTiles, {["ImageTransparency"]=0.75})
- end)
- Main.MouseLeave:Connect(function()
- ApplyPropertyTween(Main, {["Transparency"]=0.5})
- ApplyPropertyTween(SnowTiles, {["ImageTransparency"]=0.85})
- end)
- ApplyTextGlowingHover(Main:WaitForChild("Title"))
- Exit.MouseButton1Down:Connect(function()
- ExitPrompt:TweenPosition(UDim2.new(0.5,0,0.5,0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.5, true)
- end)
- ExitPrompt:WaitForChild("Yes").MouseButton1Down:Once(function()
- Current:Destroy()
- Current = nil
- end)
- ExitPrompt:WaitForChild("No").MouseButton1Down:Connect(function()
- ExitPrompt:TweenPosition(UDim2.new(0.5,0,5.5,0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.5, true)
- end)
- local function update(input)
- local delta = input.Position - dragStart
- Main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- local Mouse = LocalPlayer:GetMouse()
- Draggy.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = Main.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Draggy.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInput.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- return Tabbing
- end
- Tabbing.MakeTab = function(self, Name)
- local TabButton = Assets:WaitForChild("TabButton"):Clone()
- ApplyTextGlowingHover(TabButton)
- local Tab = Assets:WaitForChild("Tab"):Clone()
- local Bottom, Top = Tab:WaitForChild("FillerBottom"), Tab:WaitForChild("FillerTop")
- TabButton.Visible = true
- TabButton.Text = Name
- Tab.Name = Name
- TabButton.MouseButton1Down:Connect(function()
- if SelectedTab and SelectedTab ~= Tab and SelectedTabButton and SelectedTabButton ~= TabButton then
- SelectedTab:TweenPosition(UDim2.new(1.033, 0, 0, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.5, true)
- Tab:TweenPosition(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.5, true)
- ApplyPropertyTween(SelectedTabButton, {BackgroundTransparency=1})
- ApplyPropertyTween(TabButton, {BackgroundTransparency=0.9})
- end
- Tab.Visible = true
- SelectedTabButton = TabButton
- SelectedTab = Tab
- end)
- Tab.ChildAdded:Connect(function(Child)
- Bottom.Parent = nil
- task.delay(2, function()
- Bottom.Parent = Tab
- end)
- end)
- Tab.Parent = Tabs
- TabButton.Parent = TabList
- return {
- AddLabel = function(self, Text, DescriptionText)
- local Class = Assets:WaitForChild("Label"):Clone()
- local TextLabel = Class:WaitForChild("Label")
- local Description = Class:WaitForChild("Description")
- if DescriptionText then
- Description.Text = DescriptionText
- ApplyAutoResize(Class, Description)
- end
- ApplyTextGlowingHover(TextLabel, Class)
- TextLabel.Text = Text
- Class.Visible = true
- Class.Parent = Tab
- return {
- UpdateLabel = function(Text)
- TextLabel.Text = Text
- end,
- Remove = function()
- Class:Destroy()
- end,
- }
- end,
- AddButton = function(self, Text, DescriptionText, Callback)
- local Callback = Callback
- local Class = Assets:WaitForChild("Button"):Clone()
- local TextLabel = Class:WaitForChild("Label")
- local Description = Class:WaitForChild("Description")
- if DescriptionText then
- Description.Text = DescriptionText
- ApplyAutoResize(Class, Description)
- end
- ApplyTextGlowingHover(TextLabel, Class)
- TextLabel.Text = Text
- Class.Visible = true
- Class.Parent = Tab
- Class.MouseButton1Down:Connect(function()
- ApplyPropertyTween(Class, {BackgroundTransparency=0.75})
- task.spawn(Callback)
- task.delay(0.175, function()
- ApplyPropertyTween(Class, {BackgroundTransparency=0.9})
- end)
- end)
- return {
- UpdateLabel = function(self, Text)
- TextLabel.Text = Text
- end,
- UpdateCallback = function(_, NewCallback)
- Callback = NewCallback
- end,
- Remove = function()
- Class:Destroy()
- end,
- }
- end,
- AddToggle = function(self, Text, DescriptionText, DefaultState, Callback)
- local State = DefaultState
- Callback = Callback
- local Class = Assets:WaitForChild("Toggle"):Clone()
- local TextLabel = Class:WaitForChild("Label")
- local Description = Class:WaitForChild("Description")
- if DescriptionText then
- Description.Text = DescriptionText
- ApplyAutoResize(Class, Description)
- end
- ApplyTextGlowingHover(TextLabel, Class)
- TextLabel.Text = Text
- Class.BackgroundColor3 = State and C3RGB(180, 255, 167) or C3RGB(255, 174, 174)
- Class.Visible = true
- Class.Parent = Tab
- Class.MouseButton1Down:Connect(function()
- State = not State
- ApplyPropertyTween(Class, {BackgroundColor3=State and C3RGB(180, 255, 167) or C3RGB(255, 174, 174)})
- task.spawn(Callback, State)
- end)
- return {
- UpdateLabel = function(self, Text)
- TextLabel.Text = Text
- end,
- UpdateCallback = function(_, NewCallback)
- Callback = NewCallback
- end,
- Set = function(State1)
- State = State1
- ApplyPropertyTween(Class, {BackgroundColor3=State and C3RGB(180, 255, 167) or C3RGB(255, 174, 174)})
- end,
- Change = function()
- State = not State
- ApplyPropertyTween(Class, {BackgroundColor3=State and C3RGB(180, 255, 167) or C3RGB(255, 174, 174)})
- end,
- Remove = function()
- Class:Destroy()
- end,
- }
- end,
- AddTextBox = function(self, Text, DescriptionText, Placeholder, Callback)
- Callback = Callback
- local Class = Assets:WaitForChild("Textbox"):Clone()
- local TextLabel = Class:WaitForChild("Label")
- local TextBox = Class:FindFirstChildOfClass("TextBox")
- local Description = Class:WaitForChild("Description")
- if DescriptionText then
- Description.Text = DescriptionText
- ApplyAutoResize(Class, Description)
- end
- if Placeholder then TextBox.PlaceholderText = Placeholder end
- ApplyTextGlowingHover(TextLabel, Class)
- TextLabel.Text = Text
- Class.Visible = true
- Class.Parent = Tab
- TextBox.FocusLost:Connect(function(EnterPressed)
- if EnterPressed then
- task.spawn(Callback, TextBox.Text)
- TextBox.Text = ""
- end
- end)
- return {
- UpdateLabel = function(_, Text)
- TextLabel.Text = Text
- end,
- UpdatePlaceholder = function(_, Placeholder)
- TextBox.PlaceholderText = Placeholder
- end,
- UpdateCallback = function(_, NewCallback)
- Callback = NewCallback
- end,
- Remove = function()
- Class:Destroy()
- end,
- }
- end,
- AddSlider = function(self, Text, DescriptionText, Min, Max, Default, Callback)
- Callback = Callback
- local Class = Assets:WaitForChild("Slider"):Clone()
- local TextLabel = Class:WaitForChild("Label")
- local SliderHolder = Class:WaitForChild("SliderHold")
- local SliderDecor = SliderHolder:WaitForChild("SliderDecor")
- local SliderValue = SliderHolder:WaitForChild("Value")
- local Description = Class:WaitForChild("Description")
- if DescriptionText then
- Description.Text = DescriptionText
- ApplyAutoResize(Class, Description)
- end
- ApplyTextGlowingHover(TextLabel, Class)
- TextLabel.Text = Text
- Class.Visible = true
- Class.Parent = Tab
- local MinimumValue = Min or 0
- local MaximumValue = Max or 100
- SliderDecor.Size = UDim2.new(Default/Max, 0, 0, SliderDecor.AbsoluteSize.Y)
- SliderValue.Text = tostring(Default) or '10'
- local Value;
- local Move_Connection, Release_Connection
- local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local CB = Callback or function() end -- I just copy pasted from my old reanimation lol
- SliderHolder.MouseButton1Down:Connect(function()
- Value = math.floor((((MaximumValue - MinimumValue) / 297) * SliderDecor.AbsoluteSize.X) + tonumber(MinimumValue)) or 0
- pcall(function()
- Callback(Value)
- end)
- SliderDecor.Size = UDim2.new(0, math.clamp(Mouse.X - SliderDecor.AbsolutePosition.X, 0, 297), 0, 16)
- Move_Connection = Mouse.Move:Connect(function()
- SliderValue.Text = Value
- Value = math.floor((((MaximumValue - MinimumValue) / 297) * SliderDecor.AbsoluteSize.X) + tonumber(MinimumValue))
- pcall(function()
- Callback(Value)
- end)
- SliderDecor.Size = UDim2.new(0, math.clamp(Mouse.X - SliderDecor.AbsolutePosition.X, 0, 297), 0, 16)
- end)
- Release_Connection = UserInput.InputEnded:Connect(function(MouseUIS)
- if MouseUIS.UserInputType == Enum.UserInputType.MouseButton1 then
- Value = math.floor((((MaximumValue - MinimumValue) / 297) * SliderDecor.AbsoluteSize.X) + tonumber(MinimumValue))
- Callback(Value)
- SliderDecor.Size = UDim2.new(0, math.clamp(Mouse.X - SliderDecor.AbsolutePosition.X, 0, 297), 0, 16)
- Move_Connection:Disconnect()
- Release_Connection:Disconnect()
- end
- end)
- end)
- return {
- UpdateLabel = function(self, Text)
- TextLabel.Text = Text
- end,
- UpdateCallback = function(self, NewCallback)
- Callback = NewCallback
- end,
- UpdateMinValue = function(self, NewValue)
- MinimumValue = NewValue or 0
- end,
- UpdateMaxValue = function(self, NewValue)
- MaximumValue = NewValue or 0
- end,
- Remove = function()
- Class:Destroy()
- end,
- }
- end,
- AddDropDown = function(self, Text, DescriptionText, List, Default, Callback)
- Callback = Callback
- local Opened = false
- local Class = Assets:WaitForChild("Dropdown"):Clone()
- local TextLabel = Class:WaitForChild("Label")
- local Description = Class:WaitForChild("Description")
- local Selected = Class:WaitForChild("SelectedOption")
- local Scrolling = Class:WaitForChild("DropDownInfo"):WaitForChild("ScrollingFrame")
- local OriginSize = Class.Size
- local ToResize = UDim2.new(0,315,0,125)
- Description.Text = DescriptionText or "Dropdown."
- ApplyTextGlowingHover(TextLabel, Class)
- ApplyTextGlowingHover(Selected, Class)
- TextLabel.Text = Text
- Class.Visible = true
- Class.Parent = Tab
- for _,v in next, List do
- local Option = Assets:WaitForChild("DropdownOption"):Clone()
- local OptionLabel = Option:WaitForChild("Label")
- OptionLabel.Text = tostring(v)
- Option.Visible = true
- Option.Parent = Scrolling
- Option.MouseButton1Down:Connect(function()
- task.spawn(Callback, v)
- Selected.Text = tostring(v)
- ApplyPropertyTween(Option, {BackgroundTransparency=0.75})
- task.spawn(Callback)
- task.delay(0.175, function()
- ApplyPropertyTween(Option, {BackgroundTransparency=0.95})
- end)
- --Class:TweenSize(OriginSize, Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.5, true)
- --Opened = false
- end)
- end
- Class.MouseButton1Down:Connect(function()
- Opened = not Opened
- if Opened then
- Class:TweenSize(ToResize, Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.5, true)
- else
- Class:TweenSize(OriginSize, Enum.EasingDirection.InOut, Enum.EasingStyle.Quint, 0.5, true)
- end
- end)
- Selected.Text = tostring(List[Default])
- return {
- UpdateLabel = function(self, Text)
- TextLabel.Text = Text
- end,
- UpdateCallback = function(self, NewCallback)
- Callback = NewCallback
- end,
- Remove = function()
- Class:Destroy()
- end,
- }
- end,
- }
- end
- local x = Library:Create()
- local tab = x:MakeTab("Credits")
- local Keybinds = x:MakeTab("Keybinds")
- tab:AddLabel("UI", 'Credits to xyzkade on discord for the UI Library.')
- tab:AddLabel("Everything", 'Credits to ballsman3761 or libary.hello on discord for everything else.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement