local lib = {}
game:GetService("ContentProvider"):PreloadAsync({"http://www.roblox.com/asset/?id=9927947037", "rbxassetid://7072725342", "rbxassetid://7072719338"});
function lib:Window(title, section1, tab1)
local window = {}
local Soggyware = Instance.new("ScreenGui");
local MainFrame = Instance.new("Frame");
local Information = Instance.new("Frame");
local ImageLabel = Instance.new("ImageLabel");
local Title = Instance.new("TextLabel");
local Username = Instance.new("TextLabel");
local Line = Instance.new("Frame");
local Line2 = Instance.new("Frame");
local Tabs = Instance.new("Frame");
local Frame = Instance.new("Frame");
local TextButton = Instance.new("TextButton");
local UICorner = Instance.new("UICorner");
local TextLabel = Instance.new("TextLabel");
local UIListLayout = Instance.new("UIListLayout");
local UIPadding = Instance.new("UIPadding");
local Line3 = Instance.new("Frame");
local CurrentTab = Instance.new("TextLabel");
local Close = Instance.new("ImageButton");
local Minimize = Instance.new("ImageButton");
local Container = Instance.new("Frame");
Soggyware.Name = "Soggyware";
Soggyware.IgnoreGuiInset = true;
Soggyware.ZIndexBehavior = Enum.ZIndexBehavior.Sibling;
Soggyware.Parent = game:GetService("CoreGui");

MainFrame.Name = "MainFrame";
MainFrame.Size = UDim2.new(0.35736483335494995, 0, 0.42688390612602234, 0);
MainFrame.Position = UDim2.new(0.3380982279777527, 0, 0.31740614771842957, 0);
MainFrame.BorderSizePixel = 0;
MainFrame.BackgroundColor3 = Color3.fromRGB(16, 16, 18);
MainFrame.Parent = Soggyware;

Information.Name = "Information";
Information.Size = UDim2.new(0.2956521809101105, 0, 0.2665025293827057, 0);
Information.BorderSizePixel = 0;
Information.BackgroundColor3 = Color3.fromRGB(16, 16, 18);
Information.Parent = MainFrame;

ImageLabel.Position = UDim2.new(0, 0, 0.12999999523162842, 0);
ImageLabel.Image = "http://www.roblox.com/asset/?id=9927947037";
ImageLabel.BorderSizePixel = 0;
ImageLabel.Size = UDim2.new(0.44117650389671326, 0, 0.75, 0);
ImageLabel.BackgroundTransparency = 1;
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
ImageLabel.Parent = Information;

Title.Name = "Title";
Title.TextWrapped = true;
Title.BorderSizePixel = 0;
Title.TextScaled = true;
Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
Title.TextXAlignment = Enum.TextXAlignment.Left;
Title.Size = UDim2.new(0.5235294699668884, 0, 0.23000000417232513, 0);
Title.TextSize = 14;
Title.Text = title;
Title.TextColor3 = Color3.fromRGB(255, 255, 255);
Title.Font = Enum.Font.GothamMedium;
Title.Position = UDim2.new(0.44117647409439087, 0, 0.25999999046325684, 0);
Title.BackgroundTransparency = 1;
Title.Parent = Information;

Username.Name = "Username";
Username.TextWrapped = true;
Username.BorderSizePixel = 0;
Username.TextScaled = true;
Username.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
Username.TextXAlignment = Enum.TextXAlignment.Left;
Username.Size = UDim2.new(0.5235294699668884, 0, 0.23000000417232513, 0);
Username.TextSize = 14;
Username.Text = game:GetService("Players").LocalPlayer.DisplayName;
Username.TextColor3 = Color3.fromRGB(195, 195, 195);
Username.Font = Enum.Font.GothamMedium;
Username.Position = UDim2.new(0.44117647409439087, 0, 0.49000000953674316, 0);
Username.BackgroundTransparency = 1;
Username.Parent = Information;

Line.Name = "Line";
Line.Size = UDim2.new(0.0024999999441206455, 0, 1, 0);
Line.Position = UDim2.new(0.2956521809101105, 0, 0, 0);
Line.BorderSizePixel = 0;
Line.BackgroundColor3 = Color3.fromRGB(28, 28, 31);
Line.Parent = MainFrame;

Line2.Name = "Line2";
Line2.Size = UDim2.new(0.2980000078678131, 0, 0.004999999888241291, 0);
Line2.Position = UDim2.new(0, 0, 0.2665025293827057, 0);
Line2.BorderSizePixel = 0;
Line2.BackgroundColor3 = Color3.fromRGB(28, 28, 31);
Line2.Parent = MainFrame;

Tabs.Name = "Tabs";
Tabs.Size = UDim2.new(0.2956521809101105, 0, 0.7284973859786987, 0);
Tabs.Position = UDim2.new(0, 0, 0.2715025544166565, 0);
Tabs.BorderSizePixel = 0;
Tabs.BackgroundColor3 = Color3.fromRGB(16, 16, 18);
Tabs.Parent = MainFrame;

Frame.Size = UDim2.new(0.9625000953674316, 0, 0.2321983426809311, 0);
Frame.BorderSizePixel = 0;
Frame.BackgroundTransparency = 1;
Frame.BackgroundColor3 = Color3.fromRGB(227, 227, 255);
Frame.Parent = Tabs;

TextButton.TextWrapped = true;
TextButton.BorderSizePixel = 0;
TextButton.TextScaled = true;
TextButton.BackgroundColor3 = Color3.fromRGB(21, 21, 23);
TextButton.TextXAlignment = Enum.TextXAlignment.Left;
TextButton.Size = UDim2.new(0.9937499761581421, 0, 0.5173625349998474, 0);
TextButton.TextSize = 14;
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255);
TextButton.Text = "  " .. tab1;
TextButton.Font = Enum.Font.GothamMedium;
TextButton.Position = UDim2.new(0, 0, 0.4826377034187317, 0);
TextButton.Parent = Frame;

UICorner.Parent = TextButton;

TextLabel.TextWrapped = true;
TextLabel.BorderSizePixel = 0;
TextLabel.TextScaled = true;
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
TextLabel.TextXAlignment = Enum.TextXAlignment.Left;
TextLabel.Size = UDim2.new(0.9937499761581421, 0, 0.3735466003417969, 0);
TextLabel.TextSize = 14;
TextLabel.Text = "  " .. section1;
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255);
TextLabel.Font = Enum.Font.GothamMedium;
TextLabel.BackgroundTransparency = 1;
TextLabel.Parent = Frame;

UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder;
UIListLayout.Padding = UDim.new(0, 5);
UIListLayout.Parent = Tabs;

UIPadding.PaddingTop = UDim.new(0, 10);
UIPadding.PaddingLeft = UDim.new(0, 10);
UIPadding.Parent = Tabs;

Line3.Name = "Line3";
Line3.Size = UDim2.new(0.7043476104736328, 0, 0.004999999888241291, 0);
Line3.Position = UDim2.new(0.2956521809101105, 0, 0.12525618076324463, 0);
Line3.BorderSizePixel = 0;
Line3.BackgroundColor3 = Color3.fromRGB(28, 28, 31);
Line3.Parent = MainFrame;

local cuntTab = " Tab 1"
CurrentTab.Name = "CurrentTab";
CurrentTab.TextWrapped = true;
CurrentTab.BorderSizePixel = 0;
CurrentTab.TextScaled = true;
CurrentTab.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
CurrentTab.TextXAlignment = Enum.TextXAlignment.Left;
CurrentTab.Size = UDim2.new(0.19722817838191986, 0, 0.09061084687709808, 0);
CurrentTab.TextSize = 14;
CurrentTab.Text = " Tab 1";
CurrentTab.TextColor3 = Color3.fromRGB(255, 255, 255);
CurrentTab.Font = Enum.Font.GothamMedium;
CurrentTab.Position = UDim2.new(0.29739129543304443, 0, 0.01865517720580101, 0);
CurrentTab.BackgroundTransparency = 1;
CurrentTab.Parent = MainFrame;

spawn(function()
    while true do wait()
        if CurrentTab.Text ~= cuntTab then
            CurrentTab.Text = cuntTab
        end
    end
end)

Close.Name = "Close";
Close.BorderSizePixel = 0;
Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
Close.Image = "rbxassetid://7072725342";
Close.Size = UDim2.new(0.0792391300201416, 0, 0.11992613226175308, 0);
Close.Position = UDim2.new(0.9207607507705688, 0, 0.0026650254148989916, 0);
Close.BackgroundTransparency = 1;
Close.Parent = MainFrame;

Minimize.Name = "Minimize";
Minimize.BorderSizePixel = 0;
Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
Minimize.Image = "rbxassetid://7072719338";
Minimize.Size = UDim2.new(0.0792391300201416, 0, 0.11992613226175308, 0);
Minimize.Position = UDim2.new(0.8407607674598694, 0, 0.0026650261133909225, 0);
Minimize.BackgroundTransparency = 1;
Minimize.Parent = MainFrame;

Container.Name = "Container";
Container.Size = UDim2.new(0.7018476128578186, 0, 0.8694137334823608, 0);
Container.Position = UDim2.new(0.2981521785259247, 0, 0.13058623671531677, 0);
Container.BorderSizePixel = 0;
Container.BackgroundColor3 = Color3.fromRGB(21, 21, 23);
Container.Parent = MainFrame;
local UIListLayout_3 = Instance.new("UIListLayout");
UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder;
UIListLayout_3.Padding = UDim.new(0, 10);
UIListLayout_3.Parent = Container;

local UIPadding_2 = Instance.new("UIPadding");
UIPadding_2.PaddingTop = UDim.new(0, 10);
UIPadding_2.PaddingLeft = UDim.new(0, 10);
UIPadding_2.Parent = Container;

function window:Button(text, callback)
    text = text or "  Button"
    callback = callback or function() end
    local Button = Instance.new("TextButton");
    local UICorner_2 = Instance.new("UICorner");
    Button.Name = "Button";
    Button.TextWrapped = true;
    Button.BorderSizePixel = 0;
    Button.TextScaled = true;
    Button.BackgroundColor3 = Color3.fromRGB(21, 21, 23);
    Button.TextXAlignment = Enum.TextXAlignment.Left;
    Button.Size = UDim2.new(0.9769976735115051, 0, 0.0919593870639801, 0);
    Button.TextSize = 14;
    Button.TextColor3 = Color3.fromRGB(255, 255, 255);
    Button.Text = " " .. text;
    Button.Font = Enum.Font.GothamMedium;
    Button.Parent = Container;
    UICorner_2.Parent = Button;


    Button.MouseButton1Click:Connect(callback)
end

function window:Toggle(text, callback)
    local Toggle = Instance.new("TextButton");
    local UICorner_3 = Instance.new("UICorner");
    local Frame_2 = Instance.new("Frame");
    local UICorner_4 = Instance.new("UICorner");
    Toggle.Name = "Toggle";
    Toggle.TextWrapped = true;
    Toggle.BorderSizePixel = 0;
    Toggle.TextScaled = true;
    Toggle.BackgroundColor3 = Color3.fromRGB(21, 21, 23);
    Toggle.TextXAlignment = Enum.TextXAlignment.Left;
    Toggle.Size = UDim2.new(0.9769976735115051, 0, 0.0919593870639801, 0);
    Toggle.TextSize = 14;
    Toggle.TextColor3 = Color3.fromRGB(255, 255, 255);
    Toggle.Text = " "..text;
    Toggle.Font = Enum.Font.GothamMedium;
    Toggle.Position = UDim2.new(0, 0, 0.12358187139034271, 0);
    Toggle.Parent = Container;
    UICorner_3.Parent = Toggle;
    Frame_2.Size = UDim2.new(0.05744125321507454, 0, 0.699999988079071, 0);
    Frame_2.Position = UDim2.new(0.9295039176940918, 0, 0.11746012419462204, 0);
    Frame_2.BorderSizePixel = 0;
    Frame_2.BackgroundColor3 = Color3.fromRGB(255,255,255);
    Frame_2.Parent = Toggle;
    UICorner_4.Parent = Frame_2;

    local tog = false
    text = "  " .. text or "Button"
    callback = callback or function() end

    Toggle.MouseButton1Click:Connect(function()
        tog = not tog
        callback(tog)
        if tog == false then
            Frame_2.BackgroundColor3 = Color3.fromRGB(255,255,255);
        elseif tog == true then
            Frame_2.BackgroundColor3 = Color3.fromRGB( 14, 75, 254);
        end
    end)
end

function window:Dropdown(text, list, callback)
    local Dropdown = Instance.new("TextButton");
    local UICorner_5 = Instance.new("UICorner");
    local Frame_3 = Instance.new("Frame");
    local UIPadding_3 = Instance.new("UIPadding");
    local Option = Instance.new("TextButton");
    local UICorner_6 = Instance.new("UICorner");
    local UICorner_7 = Instance.new("UICorner");
    local UIListLayout_2 = Instance.new("UIListLayout");
    Dropdown.Name = "Dropdown";
    Dropdown.TextWrapped = true;
    Dropdown.BorderSizePixel = 0;
    Dropdown.TextScaled = true;
    Dropdown.BackgroundColor3 = Color3.fromRGB(21, 21, 23);
    Dropdown.TextXAlignment = Enum.TextXAlignment.Left;
    Dropdown.Size = UDim2.new(0.9769976735115051, 0, 0.0919593870639801, 0);
    Dropdown.TextSize = 14;
    Dropdown.TextColor3 = Color3.fromRGB(255, 255, 255);
    Dropdown.Text = " Dropdown";
    Dropdown.Font = Enum.Font.GothamMedium;
    Dropdown.Position = UDim2.new(0, 0, 0.24716374278068542, 0);
    Dropdown.Parent = Container;
    Dropdown.ClipsDescendants = true
    UICorner_5.Parent = Dropdown;
    Frame_3.Size = UDim2.new(0.9921671152114868, 0, 6.1666669845581055, 0);
    Frame_3.Position = UDim2.new(0.007832897827029228, 0, 1.2333333492279053, 0);
    Frame_3.BorderSizePixel = 0;
    Frame_3.BackgroundColor3 = Color3.fromRGB(21, 21, 23);
    Frame_3.Parent = Dropdown;
    UIPadding_3.PaddingTop = UDim.new(0, 5);
    UIPadding_3.PaddingLeft = UDim.new(0, 5);
    UIPadding_3.Parent = Frame_3;
    Option.Name = "Option";
    Option.TextWrapped = true;
    Option.BorderSizePixel = 0;
    Option.TextScaled = true;
    Option.BackgroundColor3 = Color3.fromRGB(21, 21, 23);
    Option.TextXAlignment = Enum.TextXAlignment.Left;
    Option.Size = UDim2.new(0.9736841917037964, 0, 0.13513512909412384, 0);
    Option.TextSize = 14;
    Option.TextColor3 = Color3.fromRGB(255, 255, 255);
    Option.Text = " Option";
    Option.Font = Enum.Font.GothamMedium;
    Option.Position = UDim2.new(0, 0, 0.4826377034187317, 0);
    Option.Parent = Frame_3;
    UICorner_6.Parent = Option;
    UICorner_7.Parent = Frame_3;
    UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder;
    UIListLayout_2.Parent = Frame_3;
end

return window

end
return lib

Edit

Pub: 19 Jul 2022 18:49 UTC

Edit: 19 Jul 2022 18:59 UTC

Views: 76