local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- ===================================================== -- CONFIGURAÇÃO -- ===================================================== local GUI_NAME = "WillzGui" -- Evita duplicar a GUI caso execute novamente local oldGui = playerGui:FindFirstChild(GUI_NAME) if oldGui then oldGui:Destroy() end -- ===================================================== -- GUI PRINCIPAL -- ===================================================== local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = GUI_NAME ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = playerGui local Main = Instance.new("Frame") Main.Name = "Main" Main.Size = UDim2.new(0, 520, 0, 380) Main.Position = UDim2.new(0.5, -260, 0.5, -190) Main.BackgroundColor3 = Color3.fromRGB(18, 18, 18) Main.BorderSizePixel = 0 Main.ClipsDescendants = true Main.Active = true Main.Parent = ScreenGui local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0, 12) Corner.Parent = Main -- ===================================================== -- FUNDO -- ===================================================== local Background = Instance.new("ImageLabel") Background.Name = "Background" Background.Size = UDim2.new(1, 0, 1, 0) Background.BackgroundTransparency = 1 Background.Image = "rbxassetid://128982821791058" Background.ScaleType = Enum.ScaleType.Crop Background.ImageTransparency = 0.35 Background.ZIndex = 0 Background.Parent = Main local BackgroundCorner = Instance.new("UICorner") BackgroundCorner.CornerRadius = UDim.new(0, 12) BackgroundCorner.Parent = Background -- ===================================================== -- TÍTULO -- ===================================================== local Title = Instance.new("TextLabel") Title.Name = "Title" Title.Size = UDim2.new(1, -60, 0, 42) Title.Position = UDim2.new(0, 15, 0, 6) Title.BackgroundTransparency = 1 Title.Text = "Colas taf" Title.TextColor3 = Color3.new(1, 1, 1) Title.TextSize = 22 Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.ZIndex = 5 Title.Parent = Main -- ===================================================== -- BOTÃO FECHAR -- ===================================================== local Close = Instance.new("TextButton") Close.Name = "Close" Close.Size = UDim2.new(0, 34, 0, 34) Close.Position = UDim2.new(1, -42, 0, 8) Close.BackgroundColor3 = Color3.fromRGB(200, 50, 50) Close.Text = "X" Close.TextColor3 = Color3.new(1, 1, 1) Close.TextSize = 16 Close.Font = Enum.Font.GothamBold Close.AutoButtonColor = true Close.ZIndex = 10 Close.Parent = Main local CloseCorner = Instance.new("UICorner") CloseCorner.CornerRadius = UDim.new(0, 8) CloseCorner.Parent = Close Close.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) -- ===================================================== -- SISTEMA DE ARRASTAR -- ===================================================== local dragging = false local dragStart local startPos local function updateDrag(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 Main.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then -- Não inicia drag ao clicar no botão fechar if input.Target == Close then return end dragging = true dragStart = input.Position startPos = Main.Position end end) Main.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) UserInputService.InputChanged:Connect(function(input) if not dragging then return end if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then updateDrag(input) end end) -- ===================================================== -- BARRA DE ABAS -- ===================================================== local TabBar = Instance.new("ScrollingFrame") TabBar.Name = "TabBar" TabBar.Size = UDim2.new(1, -20, 0, 38) TabBar.Position = UDim2.new(0, 10, 0, 50) TabBar.BackgroundTransparency = 1 TabBar.BorderSizePixel = 0 TabBar.ScrollBarThickness = 3 TabBar.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 100) TabBar.ScrollingDirection = Enum.ScrollingDirection.X TabBar.CanvasSize = UDim2.new(0, 0, 0, 0) TabBar.AutomaticCanvasSize = Enum.AutomaticSize.X TabBar.ZIndex = 5 TabBar.Parent = Main local TabLayout = Instance.new("UIListLayout") TabLayout.FillDirection = Enum.FillDirection.Horizontal TabLayout.Padding = UDim.new(0, 6) TabLayout.SortOrder = Enum.SortOrder.LayoutOrder TabLayout.Parent = TabBar local TabPadding = Instance.new("UIPadding") TabPadding.PaddingLeft = UDim.new(0, 2) TabPadding.PaddingRight = UDim.new(0, 2) TabPadding.Parent = TabBar -- ===================================================== -- ÁREA DE CONTEÚDO -- ===================================================== local ContentHolder = Instance.new("Frame") ContentHolder.Name = "ContentHolder" ContentHolder.Size = UDim2.new(1, -20, 1, -100) ContentHolder.Position = UDim2.new(0, 10, 0, 95) ContentHolder.BackgroundTransparency = 1 ContentHolder.ClipsDescendants = true ContentHolder.ZIndex = 3 ContentHolder.Parent = Main -- ===================================================== -- CRIAR BOTÃO DE ABA -- ===================================================== local function createTabButton(name, emoji) local btn = Instance.new("TextButton") btn.Name = name btn.Size = UDim2.new(0, 105, 0, 34) btn.BackgroundColor3 = Color3.fromRGB(35, 35, 35) btn.Text = emoji .. " " .. name btn.TextColor3 = Color3.fromRGB(180, 180, 180) btn.TextSize = 12 btn.Font = Enum.Font.GothamBold btn.AutoButtonColor = false btn.ZIndex = 6 btn.Parent = TabBar local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 8) c.Parent = btn return btn end -- ===================================================== -- CRIAR CONTEÚDO DA ABA -- ===================================================== local function createTabContent() local frame = Instance.new("ScrollingFrame") frame.Size = UDim2.new(1, 0, 1, 0) frame.BackgroundTransparency = 1 frame.BorderSizePixel = 0 frame.ScrollBarThickness = 4 frame.ScrollBarImageColor3 = Color3.fromRGB(120, 120, 120) frame.CanvasSize = UDim2.new(0, 0, 0, 0) frame.AutomaticCanvasSize = Enum.AutomaticSize.Y frame.Visible = false frame.ZIndex = 4 frame.Parent = ContentHolder local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0, 10) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Parent = frame local padding = Instance.new("UIPadding") padding.PaddingTop = UDim.new(0, 5) padding.PaddingBottom = UDim.new(0, 15) padding.PaddingLeft = UDim.new(0, 5) padding.PaddingRight = UDim.new(0, 5) padding.Parent = frame return frame end -- ===================================================== -- ITEM COM BOTÃO COPIAR -- ===================================================== local function createCopyItem(parent, title, text) local container = Instance.new("Frame") container.Size = UDim2.new(1, -10, 0, 0) container.AutomaticSize = Enum.AutomaticSize.Y container.BackgroundColor3 = Color3.fromRGB(28, 28, 28) container.BorderSizePixel = 0 container.ZIndex = 5 container.Parent = parent local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 8) c.Parent = container local pad = Instance.new("UIPadding") pad.PaddingTop = UDim.new(0, 10) pad.PaddingBottom = UDim.new(0, 10) pad.PaddingLeft = UDim.new(0, 12) pad.PaddingRight = UDim.new(0, 12) pad.Parent = container -- TÍTULO local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -85, 0, 18) titleLabel.BackgroundTransparency = 1 titleLabel.Text = title titleLabel.TextColor3 = Color3.fromRGB(255, 200, 50) titleLabel.TextSize = 13 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.ZIndex = 6 titleLabel.Parent = container -- CONTEÚDO local contentLabel = Instance.new("TextLabel") contentLabel.Size = UDim2.new(1, -85, 0, 0) contentLabel.Position = UDim2.new(0, 0, 0, 22) contentLabel.BackgroundTransparency = 1 contentLabel.Text = text contentLabel.TextColor3 = Color3.new(1, 1, 1) contentLabel.TextSize = 13 contentLabel.Font = Enum.Font.Gotham contentLabel.TextXAlignment = Enum.TextXAlignment.Left contentLabel.TextYAlignment = Enum.TextYAlignment.Top contentLabel.TextWrapped = true contentLabel.AutomaticSize = Enum.AutomaticSize.Y contentLabel.ZIndex = 6 contentLabel.Parent = container -- BOTÃO COPIAR local copyBtn = Instance.new("TextButton") copyBtn.Size = UDim2.new(0, 70, 0, 28) copyBtn.Position = UDim2.new(1, -70, 0, 0) copyBtn.BackgroundColor3 = Color3.fromRGB(40, 120, 80) copyBtn.Text = "Copiar" copyBtn.TextColor3 = Color3.new(1, 1, 1) copyBtn.TextSize = 12 copyBtn.Font = Enum.Font.GothamBold copyBtn.AutoButtonColor = true copyBtn.ZIndex = 7 copyBtn.Parent = container local copyCorner = Instance.new("UICorner") copyCorner.CornerRadius = UDim.new(0, 6) copyCorner.Parent = copyBtn copyBtn.MouseButton1Click:Connect(function() -- Compatibilidade com executores if typeof(setclipboard) == "function" then setclipboard(text) copyBtn.Text = "Copiado!" copyBtn.BackgroundColor3 = Color3.fromRGB(30, 160, 70) task.delay(1.2, function() if copyBtn and copyBtn.Parent then copyBtn.Text = "Copiar" copyBtn.BackgroundColor3 = Color3.fromRGB(40, 120, 80) end end) else copyBtn.Text = "Indisponível" task.delay(1.2, function() if copyBtn and copyBtn.Parent then copyBtn.Text = "Copiar" end end) end end) return container end -- ===================================================== -- ABAS -- ===================================================== local tabBAC = createTabButton("BAC", "") local contentBAC = createTabContent() createCopyItem(contentBAC, "Dono", "MateusHgz") createCopyItem(contentBAC, "Comandante", "SasukeePro202.") createCopyItem(contentBAC, "Subcomandante", "DanielSxS2.") createCopyItem( contentBAC, "Lema BAC", "O máximo de confusão, morte e destruição na retaguarda do inimigo." ) createCopyItem( contentBAC, "Lema REC-MEC", "Haverá sempre uma Cavalaria! & Aço na mente, motor no peito e honra na missão!" ) createCopyItem( contentBAC, "Lema BPE", "Orientar o Responsável, Corrigir o Irresponsável, Prender o Incorrigível." ) createCopyItem( contentBAC, "Saudações", "Senhor Comando, Senhores Comandos, Senhores Policiais, Senhor Policial." ) -- ===================================================== local tabBPE = createTabButton("BPE", "") local contentBPE = createTabContent() createCopyItem( contentBPE, "Unidade", "BPE (Batalhão de Polícia do Exército)" ) createCopyItem( contentBPE, "Lema", "Orientar o Responsável, Corrigir o Irresponsável, Prender o Incorrigível." ) createCopyItem( contentBPE, "Saudações", "Senhor Comando, Senhores Comandos, Senhores Policiais, Senhor Policial." ) -- ===================================================== local tabBFE = createTabButton("BFE", "") local contentBFE = createTabContent() createCopyItem( contentBFE, "Lema", "Orientar o Responsável, Corrigir o Irresponsável, Prender o Incorrigível." ) createCopyItem( contentBFE, "Saudações", "Senhor Comando, Senhores Comandos, Senhores Policiais, Senhor Policial." ) -- ===================================================== local tabCIE = createTabButton("CIE", "") local contentCIE = createTabContent() createCopyItem(contentCIE, "Criador", "vicofjgfhf") createCopyItem(contentCIE, "Sub-criador", "RIP_dabfj8w") createCopyItem(contentCIE, "Comandante", "eriqurrr.") createCopyItem(contentCIE, "Subcomandante", "nohanrtop") createCopyItem( contentCIE, "Lema", "Inteligência para Vitória & Saber para Prever." ) createCopyItem( contentCIE, "Saudações", "Senhores Agentes, Senhores Fantasmas, Senhor Agente, Senhor Fantasma." ) -- ===================================================== local tabCIGS = createTabButton("CIGS", "") local contentCIGS = createTabContent() createCopyItem( contentCIGS, "Saudações", "Senhores guerreiros de selva." ) -- ===================================================== local tabCYBER = createTabButton("CYBER", "") local contentCYBER = createTabContent() createCopyItem(contentCYBER, "Dono", "NOEL_RK18") createCopyItem(contentCYBER, "Criador", "wAnTee16j5156") createCopyItem(contentCYBER, "Comandante", "TenenteCanx") createCopyItem(contentCYBER, "Subcomandante", "highhandry98") createCopyItem( contentCYBER, "Lema", "Segurança no ciberespaço, soberania para a Nação." ) createCopyItem( contentCYBER, "Juramento", "JURO GUARDAR SIGILO SOBRE TUDO QUE VER E OUVIR NO COMDCIBER!" ) createCopyItem( contentCYBER, "Saudações", "Senhores Analistas." ) -- ===================================================== local tabCAATINGA = createTabButton("CAATINGA", "") local contentCAATINGA = createTabContent() createCopyItem( contentCAATINGA, "Comandante", "SuSujapa973" ) createCopyItem( contentCAATINGA, "Subcomandante", "PATODONOTE" ) createCopyItem( contentCAATINGA, "Lema", "O pai cria, a mãe educa e a Caatinga elimina." ) createCopyItem( contentCAATINGA, "Saudações", "Senhores guardiões de Caatinga." ) -- ===================================================== local tabRECMEC = createTabButton("REC-MEC", "") local contentRECMEC = createTabContent() createCopyItem( contentRECMEC, "Comandante", "terro_2433." ) createCopyItem( contentRECMEC, "Subcomandante", "Contanum5bl" ) createCopyItem( contentRECMEC, "Lema", "Haverá sempre uma Cavalaria! & Aço na mente, motor no peito e honra na missão!" ) createCopyItem( contentRECMEC, "Saudações", "Senhores Fantasmas, Senhores Agentes, Senhores Cavaleiros\nSenhor Cavaleiro, Senhor Agente, Senhor Fantasma" ) createCopyItem( contentRECMEC, "Licença", "Senhores Fantasmas, Senhores Agentes, Senhores Cavaleiros\nSenhor Cavaleiro, Senhor Agente, Senhor Fantasma" ) createCopyItem( contentRECMEC, "Com Licença", "Senhores Fantasmas, Senhores Agentes, Senhores Cavaleiros\nSenhor Cavaleiro, Senhor Agente, Senhor Fantasma" ) createCopyItem( contentRECMEC, "Ordens de Marcha", "ATENÇÃO TURNO, PREPARAR PARA MARCHAR!\nATENÇÃO TURNO, MARCHEM!\nATENÇÃO PELOTÃO, PREPARAR PARA MARCHAR!\nATENÇÃO PELOTÃO, MARCHEM!" ) -- ===================================================== -- SISTEMA DE ABAS -- ===================================================== local tabs = { { button = tabBAC, content = contentBAC }, { button = tabBPE, content = contentBPE }, { button = tabBFE, content = contentBFE }, { button = tabCIE, content = contentCIE }, { button = tabCIGS, content = contentCIGS }, { button = tabCYBER, content = contentCYBER }, { button = tabCAATINGA, content = contentCAATINGA }, { button = tabRECMEC, content = contentRECMEC } } -- ===================================================== -- TROCAR ABA -- ===================================================== local currentTab local function switchTab(selected) for _, tab in ipairs(tabs) do if tab == selected then tab.content.Visible = true tab.button.BackgroundColor3 = Color3.fromRGB(60, 60, 60) tab.button.TextColor3 = Color3.new(1, 1, 1) currentTab = tab else tab.content.Visible = false tab.button.BackgroundColor3 = Color3.fromRGB(35, 35, 35) tab.button.TextColor3 = Color3.fromRGB(180, 180, 180) end end end -- ===================================================== -- CONECTAR BOTÕES -- ===================================================== for _, tab in ipairs(tabs) do tab.button.MouseButton1Click:Connect(function() switchTab(tab) end) end -- ===================================================== -- PRIMEIRA ABA -- ===================================================== switchTab(tabs[1])