ComandoGame7

Brainrot Box Script 2025

Dec 15th, 2025
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 26.56 KB | Gaming | 0 0
  1. local CollectionScript = {}
  2. -- Configurações
  3. CollectionScript.Config = {
  4.     FlyEnabled = false,
  5.     NoClipEnabled = false,
  6.     ESPEnabled = false,
  7.     TracersEnabled = false,
  8.     AimbotEnabled = false,
  9.     AntiAttackEnabled = false,
  10.     FastAttackEnabled = false,  -- Ataque rápido (sem cooldown/recoil)
  11.     WalkSpeed = 70,
  12.     AimbotDistance = 20
  13. }
  14.  
  15. -- Variáveis
  16. CollectionScript.Player = game:GetService("Players").LocalPlayer
  17. CollectionScript.Camera = workspace.CurrentCamera
  18. CollectionScript.Character = nil
  19. CollectionScript.HRP = nil
  20. CollectionScript.ESP = {}
  21. CollectionScript.Tracers = {}
  22. CollectionScript.Connections = {}
  23. CollectionScript.FlyBV = nil
  24.  
  25. -- ==================== Atualiza personagem ====================
  26. local function UpdateChar()
  27.     CollectionScript.Character = CollectionScript.Player.Character
  28.     if CollectionScript.Character then
  29.         CollectionScript.HRP = CollectionScript.Character:FindFirstChild("HumanoidRootPart")
  30.     else
  31.         CollectionScript.HRP = nil
  32.     end
  33. end
  34. UpdateChar()
  35. CollectionScript.Player.CharacterAdded:Connect(function()
  36.     task.wait(0.5)
  37.     UpdateChar()
  38. end)
  39.  
  40. -- ==================== GUI com Minimizar ====================
  41. function CollectionScript:CreateGUI()
  42.     local ScreenGui = Instance.new("ScreenGui")
  43.     ScreenGui.Name = "ModMenu"
  44.     ScreenGui.ResetOnSpawn = false
  45.     ScreenGui.Parent = game:GetService("CoreGui")
  46.  
  47.     local MainFrame = Instance.new("Frame")
  48.     MainFrame.Size = UDim2.new(0, 280, 0, 460)
  49.     MainFrame.Position = UDim2.new(0.5, -140, 0.5, -230)
  50.     MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 40)
  51.     MainFrame.ClipsDescendants = true
  52.     MainFrame.Parent = ScreenGui
  53.  
  54.     local UICorner = Instance.new("UICorner")
  55.     UICorner.CornerRadius = UDim.new(0, 12)
  56.     UICorner.Parent = MainFrame
  57.  
  58.     local Stroke = Instance.new("UIStroke")
  59.     Stroke.Color = Color3.fromRGB(100, 0, 255)
  60.     Stroke.Thickness = 2
  61.     Stroke.Transparency = 0.5
  62.     Stroke.Parent = MainFrame
  63.  
  64.     -- Header
  65.     local Header = Instance.new("Frame")
  66.     Header.Size = UDim2.new(1, 0, 0, 40)
  67.     Header.BackgroundColor3 = Color3.fromRGB(100, 0, 255)
  68.     Header.Parent = MainFrame
  69.  
  70.     local HeaderCorner = Instance.new("UICorner")
  71.     HeaderCorner.CornerRadius = UDim.new(0, 12)
  72.     HeaderCorner.Parent = Header
  73.  
  74.     local HeaderGradient = Instance.new("UIGradient")
  75.     HeaderGradient.Color = ColorSequence.new({
  76.         ColorSequenceKeypoint.new(0, Color3.fromRGB(150, 0, 255)),
  77.         ColorSequenceKeypoint.new(1, Color3.fromRGB(50, 0, 150))
  78.     })
  79.     HeaderGradient.Parent = Header
  80.  
  81.     local Title = Instance.new("TextLabel")
  82.     Title.Text = "MOD MENU PRO"
  83.     Title.Size = UDim2.new(0.5, 0, 1, 0)
  84.     Title.Position = UDim2.new(0.05, 0, 0, 0)
  85.     Title.BackgroundTransparency = 1
  86.     Title.TextColor3 = Color3.new(1,1,1)
  87.     Title.TextScaled = true
  88.     Title.Font = Enum.Font.GothamBold
  89.     Title.Parent = Header
  90.  
  91.     -- Minimizar
  92.     local MinimizeBtn = Instance.new("TextButton")
  93.     MinimizeBtn.Size = UDim2.new(0, 30, 0, 30)
  94.     MinimizeBtn.Position = UDim2.new(1, -70, 0.5, -15)
  95.     MinimizeBtn.BackgroundColor3 = Color3.fromRGB(255, 204, 0)
  96.     MinimizeBtn.Text = "—"
  97.     MinimizeBtn.TextColor3 = Color3.new(0,0,0)
  98.     MinimizeBtn.TextScaled = true
  99.     MinimizeBtn.Font = Enum.Font.GothamBold
  100.     MinimizeBtn.Parent = Header
  101.  
  102.     local MinCorner = Instance.new("UICorner")
  103.     MinCorner.CornerRadius = UDim.new(0, 8)
  104.     MinCorner.Parent = MinimizeBtn
  105.  
  106.     -- Fechar
  107.     local CloseBtn = Instance.new("TextButton")
  108.     CloseBtn.Size = UDim2.new(0, 30, 0, 30)
  109.     CloseBtn.Position = UDim2.new(1, -35, 0.5, -15)
  110.     CloseBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  111.     CloseBtn.Text = "X"
  112.     CloseBtn.TextColor3 = Color3.new(1,1,1)
  113.     CloseBtn.Parent = Header
  114.  
  115.     local CloseCorner = Instance.new("UICorner")
  116.     CloseCorner.CornerRadius = UDim.new(0, 8)
  117.     CloseCorner.Parent = CloseBtn
  118.  
  119.     CloseBtn.MouseButton1Click:Connect(function()
  120.         self:StopAll()
  121.         ScreenGui:Destroy()
  122.     end)
  123.  
  124.     -- Conteúdo
  125.     local Content = Instance.new("ScrollingFrame")
  126.     Content.Size = UDim2.new(1, -10, 1, -50)
  127.     Content.Position = UDim2.new(0, 5, 0, 45)
  128.     Content.BackgroundTransparency = 1
  129.     Content.CanvasSize = UDim2.new(0, 0, 0, 650)
  130.     Content.ScrollBarThickness = 4
  131.     Content.Parent = MainFrame
  132.  
  133.     local Layout = Instance.new("UIListLayout")
  134.     Layout.Padding = UDim.new(0, 10)
  135.     Layout.Parent = Content
  136.  
  137.     -- Minimizar lógica
  138.     local minimized = false
  139.     MinimizeBtn.MouseButton1Click:Connect(function()
  140.         minimized = not minimized
  141.         if minimized then
  142.             MainFrame.Size = UDim2.new(0, 280, 0, 40)
  143.             Content.Visible = false
  144.             MinimizeBtn.Text = "+"
  145.         else
  146.             MainFrame.Size = UDim2.new(0, 280, 0, 460)
  147.             Content.Visible = true
  148.             MinimizeBtn.Text = "—"
  149.         end
  150.     end)
  151.  
  152.     -- Drag
  153.     local dragging = false
  154.     local dragStart, startPos
  155.     Header.InputBegan:Connect(function(input)
  156.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  157.             dragging = true
  158.             dragStart = input.Position
  159.             startPos = MainFrame.Position
  160.         end
  161.     end)
  162.     game:GetService("UserInputService").InputChanged:Connect(function(input)
  163.         if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  164.             local delta = input.Position - dragStart
  165.             MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  166.         end
  167.     end)
  168.     game:GetService("UserInputService").InputEnded:Connect(function(input)
  169.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  170.             dragging = false
  171.         end
  172.     end)
  173.  
  174.     -- Seção Velocidade
  175.     local SpeedSection = Instance.new("Frame")
  176.     SpeedSection.Size = UDim2.new(1, 0, 0, 120)
  177.     SpeedSection.BackgroundColor3 = Color3.fromRGB(35, 35, 55)
  178.     SpeedSection.Parent = Content
  179.  
  180.     local SpeedCorner = Instance.new("UICorner")
  181.     SpeedCorner.CornerRadius = UDim.new(0, 8)
  182.     SpeedCorner.Parent = SpeedSection
  183.  
  184.     local SpeedTitle = Instance.new("TextLabel")
  185.     SpeedTitle.Text = "VELOCIDADE"
  186.     SpeedTitle.Size = UDim2.new(1, -10, 0, 25)
  187.     SpeedTitle.Position = UDim2.new(0, 5, 0, 5)
  188.     SpeedTitle.BackgroundTransparency = 1
  189.     SpeedTitle.TextColor3 = Color3.fromRGB(0, 200, 255)
  190.     SpeedTitle.TextSize = 16
  191.     SpeedTitle.Font = Enum.Font.GothamBold
  192.     SpeedTitle.Parent = SpeedSection
  193.  
  194.     local SpeedLabel = Instance.new("TextLabel")
  195.     SpeedLabel.Size = UDim2.new(1, 0, 0, 20)
  196.     SpeedLabel.Position = UDim2.new(0, 10, 0, 35)
  197.     SpeedLabel.BackgroundTransparency = 1
  198.     SpeedLabel.Text = "Velocidade: " .. self.Config.WalkSpeed
  199.     SpeedLabel.TextColor3 = Color3.new(1,1,1)
  200.     SpeedLabel.TextXAlignment = Enum.TextXAlignment.Left
  201.     SpeedLabel.Parent = SpeedSection
  202.  
  203.     local SpeedInput = Instance.new("TextBox")
  204.     SpeedInput.Size = UDim2.new(1, -20, 0, 30)
  205.     SpeedInput.Position = UDim2.new(0, 10, 0, 60)
  206.     SpeedInput.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
  207.     SpeedInput.Text = tostring(self.Config.WalkSpeed)
  208.     SpeedInput.TextColor3 = Color3.new(1,1,1)
  209.     SpeedInput.Parent = SpeedSection
  210.  
  211.     local InputCorner = Instance.new("UICorner")
  212.     InputCorner.CornerRadius = UDim.new(0, 6)
  213.     InputCorner.Parent = SpeedInput
  214.  
  215.     local ApplyBtn = Instance.new("TextButton")
  216.     ApplyBtn.Size = UDim2.new(1, -20, 0, 30)
  217.     ApplyBtn.Position = UDim2.new(0, 10, 0, 95)
  218.     ApplyBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
  219.     ApplyBtn.Text = "Aplicar + Anti-Reset"
  220.     ApplyBtn.TextColor3 = Color3.new(0,0,0)
  221.     ApplyBtn.Parent = SpeedSection
  222.  
  223.     local ApplyCorner = Instance.new("UICorner")
  224.     ApplyCorner.CornerRadius = UDim.new(0, 6)
  225.     ApplyCorner.Parent = ApplyBtn
  226.  
  227.     ApplyBtn.MouseButton1Click:Connect(function()
  228.         local value = tonumber(SpeedInput.Text)
  229.         if value and value >= 16 then
  230.             self.Config.WalkSpeed = value
  231.             SpeedLabel.Text = "Velocidade: " .. value
  232.             self:ApplyWalkSpeed()
  233.         end
  234.     end)
  235.  
  236.     -- Seção Distância Aimbot
  237.     local AimbotDistSection = Instance.new("Frame")
  238.     AimbotDistSection.Size = UDim2.new(1, 0, 0, 100)
  239.     AimbotDistSection.BackgroundColor3 = Color3.fromRGB(35, 35, 55)
  240.     AimbotDistSection.Parent = Content
  241.  
  242.     local DistCorner = Instance.new("UICorner")
  243.     DistCorner.CornerRadius = UDim.new(0, 8)
  244.     DistCorner.Parent = AimbotDistSection
  245.  
  246.     local DistTitle = Instance.new("TextLabel")
  247.     DistTitle.Text = "DISTÂNCIA AIMBOT"
  248.     DistTitle.Size = UDim2.new(1, -10, 0, 25)
  249.     DistTitle.Position = UDim2.new(0, 5, 0, 5)
  250.     DistTitle.BackgroundTransparency = 1
  251.     DistTitle.TextColor3 = Color3.fromRGB(255, 100, 0)
  252.     DistTitle.TextSize = 16
  253.     DistTitle.Font = Enum.Font.GothamBold
  254.     DistTitle.Parent = AimbotDistSection
  255.  
  256.     local DistLabel = Instance.new("TextLabel")
  257.     DistLabel.Size = UDim2.new(1, 0, 0, 20)
  258.     DistLabel.Position = UDim2.new(0, 10, 0, 35)
  259.     DistLabel.BackgroundTransparency = 1
  260.     DistLabel.Text = "Distância: " .. self.Config.AimbotDistance .. " studs"
  261.     DistLabel.TextColor3 = Color3.new(1,1,1)
  262.     DistLabel.TextXAlignment = Enum.TextXAlignment.Left
  263.     DistLabel.Parent = AimbotDistSection
  264.  
  265.     local DistInput = Instance.new("TextBox")
  266.     DistInput.Size = UDim2.new(1, -20, 0, 30)
  267.     DistInput.Position = UDim2.new(0, 10, 0, 60)
  268.     DistInput.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
  269.     DistInput.Text = tostring(self.Config.AimbotDistance)
  270.     DistInput.TextColor3 = Color3.new(1,1,1)
  271.     DistInput.Parent = AimbotDistSection
  272.  
  273.     local DistInputCorner = Instance.new("UICorner")
  274.     DistInputCorner.CornerRadius = UDim.new(0, 6)
  275.     DistInputCorner.Parent = DistInput
  276.  
  277.     DistInput.FocusLost:Connect(function(enterPressed)
  278.         if enterPressed then
  279.             local value = tonumber(DistInput.Text)
  280.             if value and value > 0 then
  281.                 self.Config.AimbotDistance = value
  282.                 DistLabel.Text = "Distância: " .. value .. " studs"
  283.             end
  284.         end
  285.     end)
  286.  
  287.     -- Função para criar toggles
  288.     local function CreateToggle(name)
  289.         local btn = Instance.new("TextButton")
  290.         btn.Size = UDim2.new(1, 0, 0, 40)
  291.         btn.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
  292.         btn.Text = name .. ": DESLIGADO"
  293.         btn.TextColor3 = Color3.new(1,1,1)
  294.         btn.Font = Enum.Font.Gotham
  295.         btn.TextSize = 14
  296.         btn.Parent = Content
  297.  
  298.         local btnCorner = Instance.new("UICorner")
  299.         btnCorner.CornerRadius = UDim.new(0, 8)
  300.         btnCorner.Parent = btn
  301.  
  302.         local stroke = Instance.new("UIStroke")
  303.         stroke.Color = Color3.fromRGB(100, 100, 150)
  304.         stroke.Thickness = 1
  305.         stroke.Transparency = 0.5
  306.         stroke.Parent = btn
  307.  
  308.         return btn
  309.     end
  310.  
  311.     -- Botões toggles
  312.     local FlyBtn = CreateToggle("Fly")
  313.     FlyBtn.MouseButton1Click:Connect(function()
  314.         self.Config.FlyEnabled = not self.Config.FlyEnabled
  315.         FlyBtn.Text = "Fly: " .. (self.Config.FlyEnabled and "LIGADO" or "DESLIGADO")
  316.         FlyBtn.BackgroundColor3 = self.Config.FlyEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
  317.         if self.Config.FlyEnabled then self:StartFly() else self:StopFly() end
  318.     end)
  319.  
  320.     local NoClipBtn = CreateToggle("NoClip")
  321.     NoClipBtn.MouseButton1Click:Connect(function()
  322.         self.Config.NoClipEnabled = not self.Config.NoClipEnabled
  323.         NoClipBtn.Text = "NoClip: " .. (self.Config.NoClipEnabled and "LIGADO" or "DESLIGADO")
  324.         NoClipBtn.BackgroundColor3 = self.Config.NoClipEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
  325.         if self.Config.NoClipEnabled then self:StartNoClip() else self:StopNoClip() end
  326.     end)
  327.  
  328.     local AntiAttackBtn = CreateToggle("Anti Attack")
  329.     AntiAttackBtn.MouseButton1Click:Connect(function()
  330.         self.Config.AntiAttackEnabled = not self.Config.AntiAttackEnabled
  331.         AntiAttackBtn.Text = "Anti Attack: " .. (self.Config.AntiAttackEnabled and "LIGADO" or "DESLIGADO")
  332.         AntiAttackBtn.BackgroundColor3 = self.Config.AntiAttackEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
  333.         if self.Config.AntiAttackEnabled then self:StartAntiAttack() else self:StopAntiAttack() end
  334.     end)
  335.  
  336.     local ESPBtn = CreateToggle("ESP (com Barra de Vida)")
  337.     ESPBtn.MouseButton1Click:Connect(function()
  338.         self.Config.ESPEnabled = not self.Config.ESPEnabled
  339.         ESPBtn.Text = "ESP (com Barra de Vida): " .. (self.Config.ESPEnabled and "LIGADO" or "DESLIGADO")
  340.         ESPBtn.BackgroundColor3 = self.Config.ESPEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
  341.         if self.Config.ESPEnabled then self:StartESP() else self:StopESP() end
  342.     end)
  343.  
  344.     local TracersBtn = CreateToggle("Tracers")
  345.     TracersBtn.MouseButton1Click:Connect(function()
  346.         self.Config.TracersEnabled = not self.Config.TracersEnabled
  347.         TracersBtn.Text = "Tracers: " .. (self.Config.TracersEnabled and "LIGADO" or "DESLIGADO")
  348.         TracersBtn.BackgroundColor3 = self.Config.TracersEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
  349.         if self.Config.TracersEnabled then self:StartTracers() else self:StopTracers() end
  350.     end)
  351.  
  352.     local AimbotBtn = CreateToggle("Aimbot")
  353.     AimbotBtn.MouseButton1Click:Connect(function()
  354.         self.Config.AimbotEnabled = not self.Config.AimbotEnabled
  355.         AimbotBtn.Text = "Aimbot: " .. (self.Config.AimbotEnabled and "LIGADO" or "DESLIGADO")
  356.         AimbotBtn.BackgroundColor3 = self.Config.AimbotEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
  357.         if self.Config.AimbotEnabled then self:StartAimbot() else self:StopAimbot() end
  358.     end)
  359.  
  360.     local FastAttackBtn = CreateToggle("Fast Attack")
  361.     FastAttackBtn.MouseButton1Click:Connect(function()
  362.         self.Config.FastAttackEnabled = not self.Config.FastAttackEnabled
  363.         FastAttackBtn.Text = "Fast Attack: " .. (self.Config.FastAttackEnabled and "LIGADO" or "DESLIGADO")
  364.         FastAttackBtn.BackgroundColor3 = self.Config.FastAttackEnabled and Color3.fromRGB(255, 0, 0) or Color3.fromRGB(50, 50, 70)
  365.         if self.Config.FastAttackEnabled then
  366.             self:StartFastAttack()
  367.         else
  368.             self:StopFastAttack()
  369.         end
  370.     end)
  371. end
  372.  
  373. -- ==================== Fast Attack (ataque rápido sem cooldown/recoil) ====================
  374. function CollectionScript:StartFastAttack()
  375.     self:StopFastAttack()
  376.  
  377.     local UIS = game:GetService("UserInputService")
  378.     local RunService = game:GetService("RunService")
  379.  
  380.     -- Remove recoil
  381.     self.Connections.FastAttackRecoil = RunService.RenderStepped:Connect(function()
  382.         if self.Character then
  383.             local humanoid = self.Character:FindFirstChildOfClass("Humanoid")
  384.             if humanoid then
  385.                 humanoid.CameraOffset = Vector3.new(0, 0, 0)
  386.             end
  387.         end
  388.     end)
  389.  
  390.     -- Ataque automático ao clicar com mouse esquerdo
  391.     self.Connections.FastAttackClick = UIS.InputBegan:Connect(function(input)
  392.         if input.UserInputType == Enum.UserInputType.MouseButton1 and self.Config.FastAttackEnabled then
  393.             if self.Character then
  394.                 local tool = self.Character:FindFirstChildWhichIsA("Tool")
  395.                 if tool then
  396.                     tool:Activate()
  397.                 end
  398.             end
  399.         end
  400.     end)
  401.  
  402.     -- Spam de ataque (para jogos que usam RemoteEvent)
  403.     self.Connections.FastAttackSpam = RunService.Heartbeat:Connect(function()
  404.         if self.Character then
  405.             for _, tool in pairs(self.Character:GetChildren()) do
  406.                 if tool:IsA("Tool") then
  407.                     local remote = tool:FindFirstChildWhichIsA("RemoteEvent")
  408.                     if remote then
  409.                         remote:FireServer()
  410.                     end
  411.                 end
  412.             end
  413.         end
  414.     end)
  415.  
  416.     print("Fast Attack ativado! Ataque rápido, sem recoil e sem cooldown.")
  417. end
  418.  
  419. function CollectionScript:StopFastAttack()
  420.     if self.Connections.FastAttackRecoil then self.Connections.FastAttackRecoil:Disconnect() end
  421.     if self.Connections.FastAttackClick then self.Connections.FastAttackClick:Disconnect() end
  422.     if self.Connections.FastAttackSpam then self.Connections.FastAttackSpam:Disconnect() end
  423.     print("Fast Attack desativado.")
  424. end
  425.  
  426. -- Velocidade + Anti-Reset
  427. function CollectionScript:ApplyWalkSpeed()
  428.     if self.Character and self.Character:FindFirstChildOfClass("Humanoid") then
  429.         self.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = self.Config.WalkSpeed
  430.     end
  431.     if self.Connections.AntiReset then self.Connections.AntiReset:Disconnect() end
  432.     self.Connections.AntiReset = game:GetService("RunService").Heartbeat:Connect(function()
  433.         if self.Character and self.Character:FindFirstChildOfClass("Humanoid") then
  434.             self.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = self.Config.WalkSpeed
  435.         end
  436.     end)
  437. end
  438.  
  439. -- Fly
  440. function CollectionScript:StartFly()
  441.     self:StopFly()
  442.     if not self.HRP then return end
  443.     local bv = Instance.new("BodyVelocity")
  444.     bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
  445.     bv.Velocity = Vector3.new(0,0,0)
  446.     bv.P = 1250
  447.     bv.Parent = self.HRP
  448.     self.FlyBV = bv
  449.  
  450.     self.Connections.Fly = game:GetService("RunService").RenderStepped:Connect(function()
  451.         if not self.Config.FlyEnabled then return end
  452.         local move = Vector3.new(0,0,0)
  453.         local UIS = game:GetService("UserInputService")
  454.         if UIS:IsKeyDown(Enum.KeyCode.W) then move += CollectionScript.Camera.CFrame.LookVector end
  455.         if UIS:IsKeyDown(Enum.KeyCode.S) then move -= CollectionScript.Camera.CFrame.LookVector end
  456.         if UIS:IsKeyDown(Enum.KeyCode.A) then move -= CollectionScript.Camera.CFrame.RightVector end
  457.         if UIS:IsKeyDown(Enum.KeyCode.D) then move += CollectionScript.Camera.CFrame.RightVector end
  458.         if UIS:IsKeyDown(Enum.KeyCode.Space) then move += Vector3.new(0,1,0) end
  459.         if UIS:IsKeyDown(Enum.KeyCode.LeftShift) then move -= Vector3.new(0,1,0) end
  460.         bv.Velocity = move.Unit * 50
  461.         if move.Magnitude == 0 then bv.Velocity = Vector3.new(0,0,0) end
  462.     end)
  463. end
  464. function CollectionScript:StopFly()
  465.     if self.Connections.Fly then self.Connections.Fly:Disconnect() end
  466.     if self.FlyBV then self.FlyBV:Destroy() end
  467.     self.FlyBV = nil
  468. end
  469.  
  470. -- NoClip
  471. function CollectionScript:StartNoClip()
  472.     self:StopNoClip()
  473.     self.Connections.NoClip = game:GetService("RunService").Stepped:Connect(function()
  474.         if not self.Config.NoClipEnabled or not self.Character then return end
  475.         for _, part in pairs(self.Character:GetChildren()) do
  476.             if part:IsA("BasePart") then part.CanCollide = false end
  477.         end
  478.     end)
  479. end
  480. function CollectionScript:StopNoClip()
  481.     if self.Connections.NoClip then self.Connections.NoClip:Disconnect() end
  482.     if self.Character then
  483.         for _, part in pairs(self.Character:GetChildren()) do
  484.             if part:IsA("BasePart") then part.CanCollide = true end
  485.         end
  486.     end
  487. end
  488.  
  489. -- ESP exatamente como você mostrou
  490. function CollectionScript:StartESP()
  491.     self:StopESP()
  492.     local Players = game:GetService("Players")
  493.     self.Connections.ESP = game:GetService("RunService").RenderStepped:Connect(function()
  494.         if not self.Config.ESPEnabled then return end
  495.         for _, player in pairs(Players:GetPlayers()) do
  496.             if player ~= self.Player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChildOfClass("Humanoid") then
  497.                 local char = player.Character
  498.                 local hum = char:FindFirstChildOfClass("Humanoid")
  499.                 local root = char.HumanoidRootPart
  500.                 if (root.Position - (self.HRP and self.HRP.Position or Vector3.new(0,0,0))).Magnitude > 1000 then continue end
  501.  
  502.                 if not self.ESP[player] then
  503.                     self.ESP[player] = {}
  504.                     local highlight = Instance.new("Highlight")
  505.                     highlight.Name = "ESPHighlight"
  506.                     highlight.FillColor = Color3.fromRGB(255, 0, 0)
  507.                     highlight.OutlineColor = Color3.fromRGB(255, 255, 0)
  508.                     highlight.Parent = char
  509.                     self.ESP[player].Highlight = highlight
  510.  
  511.                     local billboard = Instance.new("BillboardGui")
  512.                     billboard.Name = "ESPBillboard"
  513.                     billboard.AlwaysOnTop = true
  514.                     billboard.Size = UDim2.new(1, 0, 1, 0)
  515.                     billboard.StudsOffset = Vector3.new(0, 3, 0)
  516.                     billboard.Adornee = char.Head
  517.                     billboard.Parent = char
  518.  
  519.                     local nameLabel = Instance.new("TextLabel")
  520.                     nameLabel.BackgroundTransparency = 1
  521.                     nameLabel.Size = UDim2.new(1, 0, 0.5, 0)
  522.                     nameLabel.Text = player.Name
  523.                     nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  524.                     nameLabel.TextStrokeTransparency = 0.5
  525.                     nameLabel.Parent = billboard
  526.  
  527.                     local healthFrame = Instance.new("Frame")
  528.                     healthFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  529.                     healthFrame.Size = UDim2.new(1, 0, 0.1, 0)
  530.                     healthFrame.Position = UDim2.new(0, 0, 0.5, 0)
  531.                     healthFrame.Parent = billboard
  532.  
  533.                     local healthLabel = Instance.new("TextLabel")
  534.                     healthLabel.BackgroundTransparency = 1
  535.                     healthLabel.Size = UDim2.new(1, 0, 1, 0)
  536.                     healthLabel.Text = hum.Health .. "/" .. hum.MaxHealth
  537.                     healthLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  538.                     healthLabel.Parent = healthFrame
  539.  
  540.                     self.ESP[player].Billboard = billboard
  541.                     self.ESP[player].HealthFrame = healthFrame
  542.                     self.ESP[player].HealthLabel = healthLabel
  543.                 end
  544.  
  545.                 local healthPct = hum.Health / hum.MaxHealth
  546.                 self.ESP[player].HealthFrame.Size = UDim2.new(healthPct, 0, 0.1, 0)
  547.                 self.ESP[player].HealthFrame.BackgroundColor3 = Color3.new(1 - healthPct, healthPct, 0)
  548.                 self.ESP[player].HealthLabel.Text = math.floor(hum.Health) .. "/" .. hum.MaxHealth
  549.             end
  550.         end
  551.     end)
  552. end
  553. function CollectionScript:StopESP()
  554.     if self.Connections.ESP then self.Connections.ESP:Disconnect() end
  555.     for player, esp in pairs(self.ESP) do
  556.         if esp.Highlight then esp.Highlight:Destroy() end
  557.         if esp.Billboard then esp.Billboard:Destroy() end
  558.     end
  559.     self.ESP = {}
  560. end
  561.  
  562. -- Tracers
  563. function CollectionScript:StartTracers()
  564.     self:StopTracers()
  565.     self.Connections.Tracers = game:GetService("RunService").RenderStepped:Connect(function()
  566.         if not self.Config.TracersEnabled then return end
  567.         for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  568.             if player ~= self.Player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  569.                 local root = player.Character.HumanoidRootPart
  570.                 if not self.Tracers[player] then
  571.                     local line = Drawing.new("Line")
  572.                     line.Thickness = 2
  573.                     line.Color = Color3.fromRGB(255, 0, 0)
  574.                     line.Transparency = 1
  575.                     self.Tracers[player] = line
  576.                 end
  577.                 local screenPos, onScreen = CollectionScript.Camera:WorldToViewportPoint(root.Position)
  578.                 local center = Vector2.new(CollectionScript.Camera.ViewportSize.X / 2, CollectionScript.Camera.ViewportSize.Y)
  579.                 if onScreen then
  580.                     self.Tracers[player].From = center
  581.                     self.Tracers[player].To = Vector2.new(screenPos.X, screenPos.Y)
  582.                     self.Tracers[player].Visible = true
  583.                 else
  584.                     self.Tracers[player].Visible = false
  585.                 end
  586.             end
  587.         end
  588.     end)
  589. end
  590. function CollectionScript:StopTracers()
  591.     if self.Connections.Tracers then self.Connections.Tracers:Disconnect() end
  592.     for _, line in pairs(self.Tracers) do
  593.         line:Remove()
  594.     end
  595.     self.Tracers = {}
  596. end
  597.  
  598. -- Aimbot
  599. function CollectionScript:StartAimbot()
  600.     self:StopAimbot()
  601.     self.Connections.Aimbot = game:GetService("RunService").RenderStepped:Connect(function()
  602.         if not self.Config.AimbotEnabled or not self.HRP then return end
  603.         local closest = nil
  604.         local closestDist = self.Config.AimbotDistance
  605.         for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  606.             if player ~= self.Player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  607.                 local root = player.Character.HumanoidRootPart
  608.                 local dist = (root.Position - self.HRP.Position).Magnitude
  609.                 if dist <= closestDist then
  610.                     closestDist = dist
  611.                     closest = root
  612.                 end
  613.             end
  614.         end
  615.         if closest then
  616.             CollectionScript.Camera.CFrame = CFrame.new(CollectionScript.Camera.CFrame.Position, closest.Position)
  617.         end
  618.     end)
  619. end
  620. function CollectionScript:StopAimbot()
  621.     if self.Connections.Aimbot then self.Connections.Aimbot:Disconnect() end
  622. end
  623.  
  624. -- Anti Attack
  625. function CollectionScript:StartAntiAttack()
  626.     self:StopAntiAttack()
  627.     self.Connections.AntiAttack = game:GetService("RunService").Heartbeat:Connect(function()
  628.         if not self.Config.AntiAttackEnabled or not self.HRP then return end
  629.         local vel = self.HRP.Velocity
  630.         if vel.Magnitude > 100 then
  631.             self.HRP.Velocity = Vector3.new(vel.X * 0.1, vel.Y, vel.Z * 0.1)
  632.         end
  633.     end)
  634. end
  635. function CollectionScript:StopAntiAttack()
  636.     if self.Connections.AntiAttack then self.Connections.AntiAttack:Disconnect() end
  637. end
  638.  
  639. -- Stop All
  640. function CollectionScript:StopAll()
  641.     self:StopFly()
  642.     self:StopNoClip()
  643.     self:StopESP()
  644.     self:StopTracers()
  645.     self:StopAimbot()
  646.     self:StopAntiAttack()
  647.     self:StopFastAttack()
  648.     if self.Connections.AntiReset then self.Connections.AntiReset:Disconnect() end
  649. end
  650.  
  651. -- Inicializa
  652. CollectionScript:CreateGUI()
  653. print("✅ Mod Menu PRO 100% COMPLETO carregado! Fast Attack adicionado e funcionando (ataque rápido sem cooldown/recoil). Instant Buy removido.")
Advertisement
Add Comment
Please, Sign In to add comment