function CreateMain(title) local destroyIfExist = game.CoreGui:GetChildren() for index, destroyIfExist in pairs(destroyIfExist) do if destroyIfExist.Name == title then print("Destroyed "..tostring(title)..": Already existed") destroyIfExist:Destroy() end end local PGui = protectgui or (syn and syn.protect_gui) or (function() end) local Rodus = Instance.new("ScreenGui") local Top = Instance.new("Frame") local Title = Instance.new("TextLabel") local Container = Instance.new("Frame") local UIListLayout = Instance.new("UIListLayout") local Minimize = Instance.new("TextButton") Rodus.Name = tostring(title) if PGui then PGui(Rodus) Rodus.Parent = cloneref(game:WaitForChild("CoreGui")) elseif gethui then Rodus.Parent = gethui() end Rodus.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Top.Name = "Top" Top.Parent = Rodus Top.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Top.BackgroundTransparency = 0.500 Top.BorderColor3 = Color3.fromRGB(0, 0, 0) Top.BorderSizePixel = 4 Top.Position = UDim2.new(0, 15, 0, 15) Top.Size = UDim2.new(0, 193, 0, 27) Title.Name = "Title" Title.Parent = Top Title.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Title.BackgroundTransparency = 0.350 Title.BorderSizePixel = 0 Title.Size = UDim2.new(0, 193, 0, 27) Title.Font = Enum.Font.JosefinSans Title.Text = " "..title Title.TextColor3 = Color3.fromRGB(0, 255, 0) Title.TextSize = 14.000 Title.TextXAlignment = Enum.TextXAlignment.Left Container.Name = "Container" Container.Parent = Top Container.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Container.BackgroundTransparency = 0.500 Container.BorderColor3 = Color3.fromRGB(0, 0, 0) Container.BorderSizePixel = 4 Container.Position = UDim2.new(0, 0, 1.29629624, 0) Container.Size = UDim2.new(0, 193, 0, 24) UIListLayout.Parent = Container UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder Minimize.Name = "Minimize" Minimize.Parent = Top Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Minimize.BackgroundTransparency = 1.000 Minimize.Position = UDim2.new(0.906735778, 0, 0.185185179, 0) Minimize.Size = UDim2.new(0, 18, 0, 17) Minimize.Font = Enum.Font.SourceSans Minimize.Text = "-" Minimize.TextColor3 = Color3.fromRGB(255, 255, 255) Minimize.TextSize = 14.000 tog_gled = false Minimize.MouseButton1Down:Connect(function() tog_gled = not tog_gled if tog_gled then Minimize.Text = "+" Container.Visible = false else Minimize.Text = "-" Container.Visible = true end end) function onKeyPress(inputObject, gameProcessedEvent) if inputObject.KeyCode == Enum.KeyCode.RightControl then if game.CoreGui[title].Top.Visible == false then game.CoreGui[title].Top.Visible = true else game.CoreGui[title].Top.Visible = false end end end game:GetService("UserInputService").InputBegan:connect(onKeyPress) function CreateTab(text) local Tab = Instance.new("TextButton") local Arrow = Instance.new("TextLabel") Tab.Name = text Tab.Parent = Container Tab.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Tab.BackgroundTransparency = 1.000 Tab.Size = UDim2.new(0, 193, 0, 24) Tab.Font = Enum.Font.JosefinSans Tab.Text = " "..text Tab.TextColor3 = Color3.fromRGB(255, 255, 255) Tab.TextSize = 14.000 Tab.TextXAlignment = Enum.TextXAlignment.Left Arrow.Name = "Arrow" Arrow.Parent = Tab Arrow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Arrow.BackgroundTransparency = 1.000 Arrow.Position = UDim2.new(0.907, 0, 0, 0) Arrow.Size = UDim2.new(0, 18, 0, 21) Arrow.Font = Enum.Font.SourceSans Arrow.Text = "<<" Arrow.TextColor3 = Color3.fromRGB(255, 255, 255) Arrow.TextScaled = true Arrow.TextSize = 14.000 Arrow.TextWrapped = true Container.Size = UDim2.new(0, UIListLayout.AbsoluteContentSize.X, 0, UIListLayout.AbsoluteContentSize.Y) local TabContainer = Instance.new("Frame") TabContainer.Name = "TabContainer" TabContainer.Parent = Tab TabContainer.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TabContainer.BackgroundTransparency = 0.500 TabContainer.BorderColor3 = Color3.fromRGB(0, 0, 0) TabContainer.BorderSizePixel = 4 TabContainer.Position = UDim2.new(1.0569948, 0, 0, 0) TabContainer.Visible = false Tab.MouseButton1Down:Connect(function() if TabContainer.Visible == false then local allTabs = TabContainer.Parent.Parent:GetDescendants() for index, allTabs in pairs(allTabs) do if allTabs.Name == "TabContainer" then allTabs.Visible = false allTabs.Parent.TextColor3 = Color3.new(255, 255, 255) allTabs.Parent.Arrow.Text = "<<" allTabs.Parent.Arrow.TextColor3 = Color3.new(255, 255, 255) end end TabContainer.Visible = true Tab.TextColor3 = Color3.new(0, 255, 0) Tab.Arrow.Text = ">>" Tab.Arrow.TextColor3 = Color3.new(0, 255, 0) else TabContainer.Visible = false Tab.TextColor3 = Color3.new(255, 255, 255) Tab.Arrow.Text = "<<" Tab.Arrow.TextColor3 = Color3.new(255, 255, 255) end end) local UIListLayout2 = Instance.new("UIListLayout") UIListLayout2.Parent = TabContainer UIListLayout2.SortOrder = Enum.SortOrder.LayoutOrder function CreateButton(parent, buttonText, note, callback) local Button = Instance.new("TextButton") local Note = Instance.new("TextLabel") Button.Name = buttonText Button.Parent = parent.TabContainer Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Button.BackgroundTransparency = 1.000 Button.Size = UDim2.new(0, 193, 0, 24) Button.Font = Enum.Font.JosefinSans Button.Text = " "..buttonText Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextSize = 14.000 Button.TextXAlignment = Enum.TextXAlignment.Left Button.MouseEnter:Connect(function() Button.Note.Visible = true end) Button.MouseLeave:Connect(function() Button.Note.Visible = false end) Button.MouseButton1Down:Connect(function() Button.TextColor3 = Color3.new(0, 255, 0) wait(0.05) Button.TextColor3 = Color3.new(255, 255, 255) pcall(callback) end) Note.Name = "Note" Note.Parent = Button Note.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Note.BackgroundTransparency = 1.000 Note.Position = UDim2.new(1.04145074, 0, 0, 0) Note.Size = UDim2.new(0, 193, 0, 24) Note.Font = Enum.Font.JosefinSans Note.Text = note Note.TextColor3 = Color3.fromRGB(0, 255, 0) Note.TextSize = 14.000 Note.TextXAlignment = Enum.TextXAlignment.Left Note.Visible = false parent.TabContainer.Size = UDim2.new(0, parent.TabContainer.UIListLayout.AbsoluteContentSize.X, 0, parent.TabContainer.UIListLayout.AbsoluteContentSize.Y) end function CreateLabel(parent, labelText) local Label = Instance.new("TextLabel") Label.Name = labelText Label.Parent = parent.TabContainer Label.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Label.BackgroundTransparency = 1.000 Label.Size = UDim2.new(0, 193, 0, 24) Label.Font = Enum.Font.JosefinSans Label.Text = " "..labelText Label.TextColor3 = Color3.fromRGB(0, 255, 0) Label.TextSize = 14.000 Label.TextXAlignment = Enum.TextXAlignment.Left parent.TabContainer.Size = UDim2.new(0, parent.TabContainer.UIListLayout.AbsoluteContentSize.X, 0, parent.TabContainer.UIListLayout.AbsoluteContentSize.Y) end function CreateToggle(parent, buttonText, note, callback) local Button = Instance.new("TextButton") local Note = Instance.new("TextLabel") local Toggle = Instance.new("BoolValue") Button.Name = buttonText Button.Parent = parent.TabContainer Toggle.Parent = Button Toggle.Name = "Toggled" Toggle.Value = false Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Button.BackgroundTransparency = 1.000 Button.Size = UDim2.new(0, 193, 0, 24) Button.Font = Enum.Font.JosefinSans Button.Text = " "..buttonText Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextSize = 14.000 Button.TextXAlignment = Enum.TextXAlignment.Left Button.MouseEnter:Connect(function() Button.Note.Visible = true end) Button.MouseLeave:Connect(function() Button.Note.Visible = false end) Button.MouseButton1Down:Connect(function() Toggle.Value = not Toggle.Value toggled = Toggle.Value if Button.TextColor3 == Color3.new(0, 255, 0) then Button.TextColor3 = Color3.new(255, 255, 255) else Button.TextColor3 = Color3.new(0, 255, 0) end pcall(callback) end) Note.Name = "Note" Note.Parent = Button Note.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Note.BackgroundTransparency = 1.000 Note.Position = UDim2.new(1.04145074, 0, 0, 0) Note.Size = UDim2.new(0, 193, 0, 24) Note.Font = Enum.Font.JosefinSans Note.Text = note Note.TextColor3 = Color3.fromRGB(0, 255, 0) Note.TextSize = 14.000 Note.TextXAlignment = Enum.TextXAlignment.Left Note.Visible = false parent.TabContainer.Size = UDim2.new(0, parent.TabContainer.UIListLayout.AbsoluteContentSize.X, 0, parent.TabContainer.UIListLayout.AbsoluteContentSize.Y) end function CreateSideDropButton(parent, dropText, list, callback) local SideDrop = Instance.new("TextButton") local Arrow = Instance.new("TextButton") local DropContainer = Instance.new("Frame") local UIListLayout = Instance.new("UIListLayout") SideDrop.Name = dropText SideDrop.Parent = parent.TabContainer SideDrop.BackgroundColor3 = Color3.fromRGB(0, 0, 0) SideDrop.BackgroundTransparency = 1.000 SideDrop.Size = UDim2.new(0, 193, 0, 24) SideDrop.Font = Enum.Font.JosefinSans SideDrop.Text = " "..dropText SideDrop.TextColor3 = Color3.fromRGB(255, 255, 255) SideDrop.TextSize = 14.000 SideDrop.TextXAlignment = Enum.TextXAlignment.Left SideDrop.MouseButton1Down:Connect(function() if SideDrop.TextColor3 == Color3.new(0, 255, 0) then SideDrop.TextColor3 = Color3.new(255, 255, 255) SideDrop.Arrow.Text = "<<" SideDrop.Arrow.TextColor3 = Color3.new(255, 255, 255) DropContainer.Visible = false else local allTabs = game.CoreGui[title].Top.Container:GetDescendants() for index, allTabs in pairs(allTabs) do if allTabs.Name == "DropContainer" then allTabs.Visible = false allTabs.Parent.TextColor3 = Color3.new(255, 255, 255) allTabs.Parent.Arrow.Text = "<<" allTabs.Parent.Arrow.TextColor3 = Color3.new(255, 255, 255) end end SideDrop.TextColor3 = Color3.new(0, 255, 0) SideDrop.Arrow.Text = ">>" SideDrop.Arrow.TextColor3 = Color3.new(0, 255, 0) DropContainer.Visible = true end end) Arrow.Name = "Arrow" Arrow.Parent = SideDrop Arrow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Arrow.BackgroundTransparency = 1.000 Arrow.Position = UDim2.new(0.906735778, 0, 0, 0) Arrow.Size = UDim2.new(0, 18, 0, 21) Arrow.Font = Enum.Font.SourceSans Arrow.Text = "<<" Arrow.TextColor3 = Color3.fromRGB(255, 255, 255) Arrow.TextScaled = true Arrow.TextSize = 14.000 Arrow.TextWrapped = true DropContainer.Name = "DropContainer" DropContainer.Parent = SideDrop DropContainer.BackgroundColor3 = Color3.fromRGB(0, 0, 0) DropContainer.BackgroundTransparency = 0.500 DropContainer.BorderColor3 = Color3.fromRGB(0, 0, 0) DropContainer.BorderSizePixel = 4 DropContainer.Position = UDim2.new(1.08290148, 0, 0, 0) DropContainer.Size = UDim2.new(0, 193, 0, 72) DropContainer.Visible = false UIListLayout.Parent = DropContainer UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder for i,v in next, list do local Button = Instance.new("TextButton") Button.Name = v Button.Parent = SideDrop.DropContainer Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Button.BackgroundTransparency = 1.000 Button.Size = UDim2.new(0, 193, 0, 24) Button.Font = Enum.Font.JosefinSans Button.Text = " "..v Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextSize = 14.000 Button.TextXAlignment = Enum.TextXAlignment.Left Button.MouseButton1Down:Connect(function() Button.TextColor3 = Color3.new(0, 255, 0) wait(0.05) Button.TextColor3 = Color3.new(255, 255, 255) callback(v) end) DropContainer.Size = UDim2.new(0, DropContainer.UIListLayout.AbsoluteContentSize.X, 0, DropContainer.UIListLayout.AbsoluteContentSize.Y) parent.TabContainer.Size = UDim2.new(0, parent.TabContainer.UIListLayout.AbsoluteContentSize.X, 0, parent.TabContainer.UIListLayout.AbsoluteContentSize.Y) end end function CreateSideDropToggle(parent, dropText, list, callback) local SideDrop = Instance.new("TextButton") local Arrow = Instance.new("TextButton") local DropContainer = Instance.new("Frame") local UIListLayout = Instance.new("UIListLayout") SideDrop.Name = dropText SideDrop.Parent = parent.TabContainer SideDrop.BackgroundColor3 = Color3.fromRGB(0, 0, 0) SideDrop.BackgroundTransparency = 1.000 SideDrop.Size = UDim2.new(0, 193, 0, 24) SideDrop.Font = Enum.Font.JosefinSans SideDrop.Text = " "..dropText SideDrop.TextColor3 = Color3.fromRGB(255, 255, 255) SideDrop.TextSize = 14.000 SideDrop.TextXAlignment = Enum.TextXAlignment.Left SideDrop.MouseButton1Down:Connect(function() if SideDrop.TextColor3 == Color3.new(0, 255, 0) then SideDrop.TextColor3 = Color3.new(255, 255, 255) SideDrop.Arrow.Text = "<<" SideDrop.Arrow.TextColor3 = Color3.new(255, 255, 255) DropContainer.Visible = false else local allTabs = game.CoreGui[title].Top.Container:GetDescendants() for index, allTabs in pairs(allTabs) do if allTabs.Name == "DropContainer" then allTabs.Visible = false allTabs.Parent.TextColor3 = Color3.new(255, 255, 255) allTabs.Parent.Arrow.Text = "<<" allTabs.Parent.Arrow.TextColor3 = Color3.new(255, 255, 255) end end SideDrop.TextColor3 = Color3.new(0, 255, 0) SideDrop.Arrow.Text = ">>" SideDrop.Arrow.TextColor3 = Color3.new(0, 255, 0) DropContainer.Visible = true end end) Arrow.Name = "Arrow" Arrow.Parent = SideDrop Arrow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Arrow.BackgroundTransparency = 1.000 Arrow.Position = UDim2.new(0.906735778, 0, 0, 0) Arrow.Size = UDim2.new(0, 18, 0, 21) Arrow.Font = Enum.Font.SourceSans Arrow.Text = "<<" Arrow.TextColor3 = Color3.fromRGB(255, 255, 255) Arrow.TextScaled = true Arrow.TextSize = 14.000 Arrow.TextWrapped = true DropContainer.Name = "DropContainer" DropContainer.Parent = SideDrop DropContainer.BackgroundColor3 = Color3.fromRGB(0, 0, 0) DropContainer.BackgroundTransparency = 0.500 DropContainer.BorderColor3 = Color3.fromRGB(0, 0, 0) DropContainer.BorderSizePixel = 4 DropContainer.Position = UDim2.new(1.08290148, 0, 0, 0) DropContainer.Size = UDim2.new(0, 193, 0, 72) DropContainer.Visible = false UIListLayout.Parent = DropContainer UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder for i,v in next, list do local Button = Instance.new("TextButton") Button.Name = v Button.Parent = SideDrop.DropContainer Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Button.BackgroundTransparency = 1.000 Button.Size = UDim2.new(0, 193, 0, 24) Button.Font = Enum.Font.JosefinSans Button.Text = " "..v Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextSize = 14.000 Button.TextXAlignment = Enum.TextXAlignment.Left Button.MouseButton1Down:Connect(function() if Button.TextColor3 == Color3.new(0, 255, 0) then Button.TextColor3 = Color3.new(255, 255, 255) else Button.TextColor3 = Color3.new(0, 255, 0) end callback(v) end) DropContainer.Size = UDim2.new(0, DropContainer.UIListLayout.AbsoluteContentSize.X, 0, DropContainer.UIListLayout.AbsoluteContentSize.Y) parent.TabContainer.Size = UDim2.new(0, parent.TabContainer.UIListLayout.AbsoluteContentSize.X, 0, parent.TabContainer.UIListLayout.AbsoluteContentSize.Y) end end function CreateTextBox(parent, buttonText, placeholderText, callback) local TextBox = Instance.new("TextButton") local Arrow = Instance.new("TextButton") local Side = Instance.new("Frame") local UIListLayout = Instance.new("UIListLayout") local Box = Instance.new("TextBox") local Hover = Instance.new("Frame") TextBox.Name = buttonText TextBox.Parent = parent.TabContainer TextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0) TextBox.BackgroundTransparency = 1.000 TextBox.Size = UDim2.new(0, 193, 0, 24) TextBox.Font = Enum.Font.JosefinSans TextBox.Text = " "..buttonText TextBox.TextColor3 = Color3.fromRGB(255, 255, 255) TextBox.TextSize = 14.000 TextBox.TextXAlignment = Enum.TextXAlignment.Left TextBox.MouseButton1Down:Connect(function() TextBox.TextColor3 = Color3.new(0, 255, 0) wait(0.05) TextBox.TextColor3 = Color3.new(255, 255, 255) callback(Box.Text) end) Arrow.Name = "Arrow" Arrow.Parent = TextBox Arrow.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Arrow.BackgroundTransparency = 1.000 Arrow.Position = UDim2.new(0.906735778, 0, 0, 0) Arrow.Size = UDim2.new(0, 18, 0, 21) Arrow.Font = Enum.Font.SourceSans Arrow.Text = "<<" Arrow.TextColor3 = Color3.fromRGB(255, 255, 255) Arrow.TextScaled = true Arrow.TextSize = 14.000 Arrow.TextWrapped = true Side.Name = "Side" Side.Parent = TextBox Side.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Side.BackgroundTransparency = 0.500 Side.BorderColor3 = Color3.fromRGB(0, 0, 0) Side.BorderSizePixel = 4 Side.Position = UDim2.new(1.08290148, 0, 0, 0) Side.Size = UDim2.new(0, 193, 0, 24) Side.Visible = false Side.MouseEnter:Connect(function() Side.Visible = true end) Side.MouseLeave:Connect(function() Side.Visible = false end) Hover.Name = "Hover" Hover.Parent = TextBox Hover.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Hover.BackgroundTransparency = 1.000 Hover.Size = UDim2.new(0, 209, 0, 32) Hover.MouseEnter:Connect(function() local allTabs = game.CoreGui[tostring(title)].Top.Container:GetDescendants() for index, allTabs in pairs(allTabs) do if allTabs.Name == "Side" then allTabs.Visible = false end end Side.Visible = true end) Side.MouseLeave:Connect(function() Side.Visible = false end) UIListLayout.Parent = Side UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder Box.Name = "Box" Box.Parent = Side Box.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Box.BackgroundTransparency = 1.000 Box.Size = UDim2.new(0, 193, 0, 24) Box.Font = Enum.Font.JosefinSans Box.Text = "" Box.TextColor3 = Color3.fromRGB(255, 255, 255) Box.TextSize = 14.000 Box.TextWrapped = true Box.PlaceholderText = placeholderText parent.TabContainer.Size = UDim2.new(0, parent.TabContainer.UIListLayout.AbsoluteContentSize.X, 0, parent.TabContainer.UIListLayout.AbsoluteContentSize.Y) end end tabs = game.CoreGui[title].Top.Container end