Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CollectionScript = {}
- -- Configurações
- CollectionScript.Config = {
- FlyEnabled = false,
- NoClipEnabled = false,
- ESPEnabled = false,
- TracersEnabled = false,
- AimbotEnabled = false,
- AntiAttackEnabled = false,
- FastAttackEnabled = false, -- Ataque rápido (sem cooldown/recoil)
- WalkSpeed = 70,
- AimbotDistance = 20
- }
- -- Variáveis
- CollectionScript.Player = game:GetService("Players").LocalPlayer
- CollectionScript.Camera = workspace.CurrentCamera
- CollectionScript.Character = nil
- CollectionScript.HRP = nil
- CollectionScript.ESP = {}
- CollectionScript.Tracers = {}
- CollectionScript.Connections = {}
- CollectionScript.FlyBV = nil
- -- ==================== Atualiza personagem ====================
- local function UpdateChar()
- CollectionScript.Character = CollectionScript.Player.Character
- if CollectionScript.Character then
- CollectionScript.HRP = CollectionScript.Character:FindFirstChild("HumanoidRootPart")
- else
- CollectionScript.HRP = nil
- end
- end
- UpdateChar()
- CollectionScript.Player.CharacterAdded:Connect(function()
- task.wait(0.5)
- UpdateChar()
- end)
- -- ==================== GUI com Minimizar ====================
- function CollectionScript:CreateGUI()
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "ModMenu"
- ScreenGui.ResetOnSpawn = false
- ScreenGui.Parent = game:GetService("CoreGui")
- local MainFrame = Instance.new("Frame")
- MainFrame.Size = UDim2.new(0, 280, 0, 460)
- MainFrame.Position = UDim2.new(0.5, -140, 0.5, -230)
- MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 40)
- MainFrame.ClipsDescendants = true
- MainFrame.Parent = ScreenGui
- local UICorner = Instance.new("UICorner")
- UICorner.CornerRadius = UDim.new(0, 12)
- UICorner.Parent = MainFrame
- local Stroke = Instance.new("UIStroke")
- Stroke.Color = Color3.fromRGB(100, 0, 255)
- Stroke.Thickness = 2
- Stroke.Transparency = 0.5
- Stroke.Parent = MainFrame
- -- Header
- local Header = Instance.new("Frame")
- Header.Size = UDim2.new(1, 0, 0, 40)
- Header.BackgroundColor3 = Color3.fromRGB(100, 0, 255)
- Header.Parent = MainFrame
- local HeaderCorner = Instance.new("UICorner")
- HeaderCorner.CornerRadius = UDim.new(0, 12)
- HeaderCorner.Parent = Header
- local HeaderGradient = Instance.new("UIGradient")
- HeaderGradient.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.fromRGB(150, 0, 255)),
- ColorSequenceKeypoint.new(1, Color3.fromRGB(50, 0, 150))
- })
- HeaderGradient.Parent = Header
- local Title = Instance.new("TextLabel")
- Title.Text = "MOD MENU PRO"
- Title.Size = UDim2.new(0.5, 0, 1, 0)
- Title.Position = UDim2.new(0.05, 0, 0, 0)
- Title.BackgroundTransparency = 1
- Title.TextColor3 = Color3.new(1,1,1)
- Title.TextScaled = true
- Title.Font = Enum.Font.GothamBold
- Title.Parent = Header
- -- Minimizar
- local MinimizeBtn = Instance.new("TextButton")
- MinimizeBtn.Size = UDim2.new(0, 30, 0, 30)
- MinimizeBtn.Position = UDim2.new(1, -70, 0.5, -15)
- MinimizeBtn.BackgroundColor3 = Color3.fromRGB(255, 204, 0)
- MinimizeBtn.Text = "—"
- MinimizeBtn.TextColor3 = Color3.new(0,0,0)
- MinimizeBtn.TextScaled = true
- MinimizeBtn.Font = Enum.Font.GothamBold
- MinimizeBtn.Parent = Header
- local MinCorner = Instance.new("UICorner")
- MinCorner.CornerRadius = UDim.new(0, 8)
- MinCorner.Parent = MinimizeBtn
- -- Fechar
- local CloseBtn = Instance.new("TextButton")
- CloseBtn.Size = UDim2.new(0, 30, 0, 30)
- CloseBtn.Position = UDim2.new(1, -35, 0.5, -15)
- CloseBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
- CloseBtn.Text = "X"
- CloseBtn.TextColor3 = Color3.new(1,1,1)
- CloseBtn.Parent = Header
- local CloseCorner = Instance.new("UICorner")
- CloseCorner.CornerRadius = UDim.new(0, 8)
- CloseCorner.Parent = CloseBtn
- CloseBtn.MouseButton1Click:Connect(function()
- self:StopAll()
- ScreenGui:Destroy()
- end)
- -- Conteúdo
- local Content = Instance.new("ScrollingFrame")
- Content.Size = UDim2.new(1, -10, 1, -50)
- Content.Position = UDim2.new(0, 5, 0, 45)
- Content.BackgroundTransparency = 1
- Content.CanvasSize = UDim2.new(0, 0, 0, 650)
- Content.ScrollBarThickness = 4
- Content.Parent = MainFrame
- local Layout = Instance.new("UIListLayout")
- Layout.Padding = UDim.new(0, 10)
- Layout.Parent = Content
- -- Minimizar lógica
- local minimized = false
- MinimizeBtn.MouseButton1Click:Connect(function()
- minimized = not minimized
- if minimized then
- MainFrame.Size = UDim2.new(0, 280, 0, 40)
- Content.Visible = false
- MinimizeBtn.Text = "+"
- else
- MainFrame.Size = UDim2.new(0, 280, 0, 460)
- Content.Visible = true
- MinimizeBtn.Text = "—"
- end
- end)
- -- Drag
- local dragging = false
- local dragStart, startPos
- Header.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = MainFrame.Position
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
- local delta = input.Position - dragStart
- MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- end)
- game:GetService("UserInputService").InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = false
- end
- end)
- -- Seção Velocidade
- local SpeedSection = Instance.new("Frame")
- SpeedSection.Size = UDim2.new(1, 0, 0, 120)
- SpeedSection.BackgroundColor3 = Color3.fromRGB(35, 35, 55)
- SpeedSection.Parent = Content
- local SpeedCorner = Instance.new("UICorner")
- SpeedCorner.CornerRadius = UDim.new(0, 8)
- SpeedCorner.Parent = SpeedSection
- local SpeedTitle = Instance.new("TextLabel")
- SpeedTitle.Text = "VELOCIDADE"
- SpeedTitle.Size = UDim2.new(1, -10, 0, 25)
- SpeedTitle.Position = UDim2.new(0, 5, 0, 5)
- SpeedTitle.BackgroundTransparency = 1
- SpeedTitle.TextColor3 = Color3.fromRGB(0, 200, 255)
- SpeedTitle.TextSize = 16
- SpeedTitle.Font = Enum.Font.GothamBold
- SpeedTitle.Parent = SpeedSection
- local SpeedLabel = Instance.new("TextLabel")
- SpeedLabel.Size = UDim2.new(1, 0, 0, 20)
- SpeedLabel.Position = UDim2.new(0, 10, 0, 35)
- SpeedLabel.BackgroundTransparency = 1
- SpeedLabel.Text = "Velocidade: " .. self.Config.WalkSpeed
- SpeedLabel.TextColor3 = Color3.new(1,1,1)
- SpeedLabel.TextXAlignment = Enum.TextXAlignment.Left
- SpeedLabel.Parent = SpeedSection
- local SpeedInput = Instance.new("TextBox")
- SpeedInput.Size = UDim2.new(1, -20, 0, 30)
- SpeedInput.Position = UDim2.new(0, 10, 0, 60)
- SpeedInput.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
- SpeedInput.Text = tostring(self.Config.WalkSpeed)
- SpeedInput.TextColor3 = Color3.new(1,1,1)
- SpeedInput.Parent = SpeedSection
- local InputCorner = Instance.new("UICorner")
- InputCorner.CornerRadius = UDim.new(0, 6)
- InputCorner.Parent = SpeedInput
- local ApplyBtn = Instance.new("TextButton")
- ApplyBtn.Size = UDim2.new(1, -20, 0, 30)
- ApplyBtn.Position = UDim2.new(0, 10, 0, 95)
- ApplyBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
- ApplyBtn.Text = "Aplicar + Anti-Reset"
- ApplyBtn.TextColor3 = Color3.new(0,0,0)
- ApplyBtn.Parent = SpeedSection
- local ApplyCorner = Instance.new("UICorner")
- ApplyCorner.CornerRadius = UDim.new(0, 6)
- ApplyCorner.Parent = ApplyBtn
- ApplyBtn.MouseButton1Click:Connect(function()
- local value = tonumber(SpeedInput.Text)
- if value and value >= 16 then
- self.Config.WalkSpeed = value
- SpeedLabel.Text = "Velocidade: " .. value
- self:ApplyWalkSpeed()
- end
- end)
- -- Seção Distância Aimbot
- local AimbotDistSection = Instance.new("Frame")
- AimbotDistSection.Size = UDim2.new(1, 0, 0, 100)
- AimbotDistSection.BackgroundColor3 = Color3.fromRGB(35, 35, 55)
- AimbotDistSection.Parent = Content
- local DistCorner = Instance.new("UICorner")
- DistCorner.CornerRadius = UDim.new(0, 8)
- DistCorner.Parent = AimbotDistSection
- local DistTitle = Instance.new("TextLabel")
- DistTitle.Text = "DISTÂNCIA AIMBOT"
- DistTitle.Size = UDim2.new(1, -10, 0, 25)
- DistTitle.Position = UDim2.new(0, 5, 0, 5)
- DistTitle.BackgroundTransparency = 1
- DistTitle.TextColor3 = Color3.fromRGB(255, 100, 0)
- DistTitle.TextSize = 16
- DistTitle.Font = Enum.Font.GothamBold
- DistTitle.Parent = AimbotDistSection
- local DistLabel = Instance.new("TextLabel")
- DistLabel.Size = UDim2.new(1, 0, 0, 20)
- DistLabel.Position = UDim2.new(0, 10, 0, 35)
- DistLabel.BackgroundTransparency = 1
- DistLabel.Text = "Distância: " .. self.Config.AimbotDistance .. " studs"
- DistLabel.TextColor3 = Color3.new(1,1,1)
- DistLabel.TextXAlignment = Enum.TextXAlignment.Left
- DistLabel.Parent = AimbotDistSection
- local DistInput = Instance.new("TextBox")
- DistInput.Size = UDim2.new(1, -20, 0, 30)
- DistInput.Position = UDim2.new(0, 10, 0, 60)
- DistInput.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
- DistInput.Text = tostring(self.Config.AimbotDistance)
- DistInput.TextColor3 = Color3.new(1,1,1)
- DistInput.Parent = AimbotDistSection
- local DistInputCorner = Instance.new("UICorner")
- DistInputCorner.CornerRadius = UDim.new(0, 6)
- DistInputCorner.Parent = DistInput
- DistInput.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- local value = tonumber(DistInput.Text)
- if value and value > 0 then
- self.Config.AimbotDistance = value
- DistLabel.Text = "Distância: " .. value .. " studs"
- end
- end
- end)
- -- Função para criar toggles
- local function CreateToggle(name)
- local btn = Instance.new("TextButton")
- btn.Size = UDim2.new(1, 0, 0, 40)
- btn.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
- btn.Text = name .. ": DESLIGADO"
- btn.TextColor3 = Color3.new(1,1,1)
- btn.Font = Enum.Font.Gotham
- btn.TextSize = 14
- btn.Parent = Content
- local btnCorner = Instance.new("UICorner")
- btnCorner.CornerRadius = UDim.new(0, 8)
- btnCorner.Parent = btn
- local stroke = Instance.new("UIStroke")
- stroke.Color = Color3.fromRGB(100, 100, 150)
- stroke.Thickness = 1
- stroke.Transparency = 0.5
- stroke.Parent = btn
- return btn
- end
- -- Botões toggles
- local FlyBtn = CreateToggle("Fly")
- FlyBtn.MouseButton1Click:Connect(function()
- self.Config.FlyEnabled = not self.Config.FlyEnabled
- FlyBtn.Text = "Fly: " .. (self.Config.FlyEnabled and "LIGADO" or "DESLIGADO")
- FlyBtn.BackgroundColor3 = self.Config.FlyEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
- if self.Config.FlyEnabled then self:StartFly() else self:StopFly() end
- end)
- local NoClipBtn = CreateToggle("NoClip")
- NoClipBtn.MouseButton1Click:Connect(function()
- self.Config.NoClipEnabled = not self.Config.NoClipEnabled
- NoClipBtn.Text = "NoClip: " .. (self.Config.NoClipEnabled and "LIGADO" or "DESLIGADO")
- NoClipBtn.BackgroundColor3 = self.Config.NoClipEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
- if self.Config.NoClipEnabled then self:StartNoClip() else self:StopNoClip() end
- end)
- local AntiAttackBtn = CreateToggle("Anti Attack")
- AntiAttackBtn.MouseButton1Click:Connect(function()
- self.Config.AntiAttackEnabled = not self.Config.AntiAttackEnabled
- AntiAttackBtn.Text = "Anti Attack: " .. (self.Config.AntiAttackEnabled and "LIGADO" or "DESLIGADO")
- AntiAttackBtn.BackgroundColor3 = self.Config.AntiAttackEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
- if self.Config.AntiAttackEnabled then self:StartAntiAttack() else self:StopAntiAttack() end
- end)
- local ESPBtn = CreateToggle("ESP (com Barra de Vida)")
- ESPBtn.MouseButton1Click:Connect(function()
- self.Config.ESPEnabled = not self.Config.ESPEnabled
- ESPBtn.Text = "ESP (com Barra de Vida): " .. (self.Config.ESPEnabled and "LIGADO" or "DESLIGADO")
- ESPBtn.BackgroundColor3 = self.Config.ESPEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
- if self.Config.ESPEnabled then self:StartESP() else self:StopESP() end
- end)
- local TracersBtn = CreateToggle("Tracers")
- TracersBtn.MouseButton1Click:Connect(function()
- self.Config.TracersEnabled = not self.Config.TracersEnabled
- TracersBtn.Text = "Tracers: " .. (self.Config.TracersEnabled and "LIGADO" or "DESLIGADO")
- TracersBtn.BackgroundColor3 = self.Config.TracersEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
- if self.Config.TracersEnabled then self:StartTracers() else self:StopTracers() end
- end)
- local AimbotBtn = CreateToggle("Aimbot")
- AimbotBtn.MouseButton1Click:Connect(function()
- self.Config.AimbotEnabled = not self.Config.AimbotEnabled
- AimbotBtn.Text = "Aimbot: " .. (self.Config.AimbotEnabled and "LIGADO" or "DESLIGADO")
- AimbotBtn.BackgroundColor3 = self.Config.AimbotEnabled and Color3.fromRGB(0, 200, 255) or Color3.fromRGB(50, 50, 70)
- if self.Config.AimbotEnabled then self:StartAimbot() else self:StopAimbot() end
- end)
- local FastAttackBtn = CreateToggle("Fast Attack")
- FastAttackBtn.MouseButton1Click:Connect(function()
- self.Config.FastAttackEnabled = not self.Config.FastAttackEnabled
- FastAttackBtn.Text = "Fast Attack: " .. (self.Config.FastAttackEnabled and "LIGADO" or "DESLIGADO")
- FastAttackBtn.BackgroundColor3 = self.Config.FastAttackEnabled and Color3.fromRGB(255, 0, 0) or Color3.fromRGB(50, 50, 70)
- if self.Config.FastAttackEnabled then
- self:StartFastAttack()
- else
- self:StopFastAttack()
- end
- end)
- end
- -- ==================== Fast Attack (ataque rápido sem cooldown/recoil) ====================
- function CollectionScript:StartFastAttack()
- self:StopFastAttack()
- local UIS = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- -- Remove recoil
- self.Connections.FastAttackRecoil = RunService.RenderStepped:Connect(function()
- if self.Character then
- local humanoid = self.Character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.CameraOffset = Vector3.new(0, 0, 0)
- end
- end
- end)
- -- Ataque automático ao clicar com mouse esquerdo
- self.Connections.FastAttackClick = UIS.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 and self.Config.FastAttackEnabled then
- if self.Character then
- local tool = self.Character:FindFirstChildWhichIsA("Tool")
- if tool then
- tool:Activate()
- end
- end
- end
- end)
- -- Spam de ataque (para jogos que usam RemoteEvent)
- self.Connections.FastAttackSpam = RunService.Heartbeat:Connect(function()
- if self.Character then
- for _, tool in pairs(self.Character:GetChildren()) do
- if tool:IsA("Tool") then
- local remote = tool:FindFirstChildWhichIsA("RemoteEvent")
- if remote then
- remote:FireServer()
- end
- end
- end
- end
- end)
- print("Fast Attack ativado! Ataque rápido, sem recoil e sem cooldown.")
- end
- function CollectionScript:StopFastAttack()
- if self.Connections.FastAttackRecoil then self.Connections.FastAttackRecoil:Disconnect() end
- if self.Connections.FastAttackClick then self.Connections.FastAttackClick:Disconnect() end
- if self.Connections.FastAttackSpam then self.Connections.FastAttackSpam:Disconnect() end
- print("Fast Attack desativado.")
- end
- -- Velocidade + Anti-Reset
- function CollectionScript:ApplyWalkSpeed()
- if self.Character and self.Character:FindFirstChildOfClass("Humanoid") then
- self.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = self.Config.WalkSpeed
- end
- if self.Connections.AntiReset then self.Connections.AntiReset:Disconnect() end
- self.Connections.AntiReset = game:GetService("RunService").Heartbeat:Connect(function()
- if self.Character and self.Character:FindFirstChildOfClass("Humanoid") then
- self.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = self.Config.WalkSpeed
- end
- end)
- end
- -- Fly
- function CollectionScript:StartFly()
- self:StopFly()
- if not self.HRP then return end
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
- bv.Velocity = Vector3.new(0,0,0)
- bv.P = 1250
- bv.Parent = self.HRP
- self.FlyBV = bv
- self.Connections.Fly = game:GetService("RunService").RenderStepped:Connect(function()
- if not self.Config.FlyEnabled then return end
- local move = Vector3.new(0,0,0)
- local UIS = game:GetService("UserInputService")
- if UIS:IsKeyDown(Enum.KeyCode.W) then move += CollectionScript.Camera.CFrame.LookVector end
- if UIS:IsKeyDown(Enum.KeyCode.S) then move -= CollectionScript.Camera.CFrame.LookVector end
- if UIS:IsKeyDown(Enum.KeyCode.A) then move -= CollectionScript.Camera.CFrame.RightVector end
- if UIS:IsKeyDown(Enum.KeyCode.D) then move += CollectionScript.Camera.CFrame.RightVector end
- if UIS:IsKeyDown(Enum.KeyCode.Space) then move += Vector3.new(0,1,0) end
- if UIS:IsKeyDown(Enum.KeyCode.LeftShift) then move -= Vector3.new(0,1,0) end
- bv.Velocity = move.Unit * 50
- if move.Magnitude == 0 then bv.Velocity = Vector3.new(0,0,0) end
- end)
- end
- function CollectionScript:StopFly()
- if self.Connections.Fly then self.Connections.Fly:Disconnect() end
- if self.FlyBV then self.FlyBV:Destroy() end
- self.FlyBV = nil
- end
- -- NoClip
- function CollectionScript:StartNoClip()
- self:StopNoClip()
- self.Connections.NoClip = game:GetService("RunService").Stepped:Connect(function()
- if not self.Config.NoClipEnabled or not self.Character then return end
- for _, part in pairs(self.Character:GetChildren()) do
- if part:IsA("BasePart") then part.CanCollide = false end
- end
- end)
- end
- function CollectionScript:StopNoClip()
- if self.Connections.NoClip then self.Connections.NoClip:Disconnect() end
- if self.Character then
- for _, part in pairs(self.Character:GetChildren()) do
- if part:IsA("BasePart") then part.CanCollide = true end
- end
- end
- end
- -- ESP exatamente como você mostrou
- function CollectionScript:StartESP()
- self:StopESP()
- local Players = game:GetService("Players")
- self.Connections.ESP = game:GetService("RunService").RenderStepped:Connect(function()
- if not self.Config.ESPEnabled then return end
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= self.Player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChildOfClass("Humanoid") then
- local char = player.Character
- local hum = char:FindFirstChildOfClass("Humanoid")
- local root = char.HumanoidRootPart
- if (root.Position - (self.HRP and self.HRP.Position or Vector3.new(0,0,0))).Magnitude > 1000 then continue end
- if not self.ESP[player] then
- self.ESP[player] = {}
- local highlight = Instance.new("Highlight")
- highlight.Name = "ESPHighlight"
- highlight.FillColor = Color3.fromRGB(255, 0, 0)
- highlight.OutlineColor = Color3.fromRGB(255, 255, 0)
- highlight.Parent = char
- self.ESP[player].Highlight = highlight
- local billboard = Instance.new("BillboardGui")
- billboard.Name = "ESPBillboard"
- billboard.AlwaysOnTop = true
- billboard.Size = UDim2.new(1, 0, 1, 0)
- billboard.StudsOffset = Vector3.new(0, 3, 0)
- billboard.Adornee = char.Head
- billboard.Parent = char
- local nameLabel = Instance.new("TextLabel")
- nameLabel.BackgroundTransparency = 1
- nameLabel.Size = UDim2.new(1, 0, 0.5, 0)
- nameLabel.Text = player.Name
- nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- nameLabel.TextStrokeTransparency = 0.5
- nameLabel.Parent = billboard
- local healthFrame = Instance.new("Frame")
- healthFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
- healthFrame.Size = UDim2.new(1, 0, 0.1, 0)
- healthFrame.Position = UDim2.new(0, 0, 0.5, 0)
- healthFrame.Parent = billboard
- local healthLabel = Instance.new("TextLabel")
- healthLabel.BackgroundTransparency = 1
- healthLabel.Size = UDim2.new(1, 0, 1, 0)
- healthLabel.Text = hum.Health .. "/" .. hum.MaxHealth
- healthLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- healthLabel.Parent = healthFrame
- self.ESP[player].Billboard = billboard
- self.ESP[player].HealthFrame = healthFrame
- self.ESP[player].HealthLabel = healthLabel
- end
- local healthPct = hum.Health / hum.MaxHealth
- self.ESP[player].HealthFrame.Size = UDim2.new(healthPct, 0, 0.1, 0)
- self.ESP[player].HealthFrame.BackgroundColor3 = Color3.new(1 - healthPct, healthPct, 0)
- self.ESP[player].HealthLabel.Text = math.floor(hum.Health) .. "/" .. hum.MaxHealth
- end
- end
- end)
- end
- function CollectionScript:StopESP()
- if self.Connections.ESP then self.Connections.ESP:Disconnect() end
- for player, esp in pairs(self.ESP) do
- if esp.Highlight then esp.Highlight:Destroy() end
- if esp.Billboard then esp.Billboard:Destroy() end
- end
- self.ESP = {}
- end
- -- Tracers
- function CollectionScript:StartTracers()
- self:StopTracers()
- self.Connections.Tracers = game:GetService("RunService").RenderStepped:Connect(function()
- if not self.Config.TracersEnabled then return end
- for _, player in pairs(game:GetService("Players"):GetPlayers()) do
- if player ~= self.Player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- local root = player.Character.HumanoidRootPart
- if not self.Tracers[player] then
- local line = Drawing.new("Line")
- line.Thickness = 2
- line.Color = Color3.fromRGB(255, 0, 0)
- line.Transparency = 1
- self.Tracers[player] = line
- end
- local screenPos, onScreen = CollectionScript.Camera:WorldToViewportPoint(root.Position)
- local center = Vector2.new(CollectionScript.Camera.ViewportSize.X / 2, CollectionScript.Camera.ViewportSize.Y)
- if onScreen then
- self.Tracers[player].From = center
- self.Tracers[player].To = Vector2.new(screenPos.X, screenPos.Y)
- self.Tracers[player].Visible = true
- else
- self.Tracers[player].Visible = false
- end
- end
- end
- end)
- end
- function CollectionScript:StopTracers()
- if self.Connections.Tracers then self.Connections.Tracers:Disconnect() end
- for _, line in pairs(self.Tracers) do
- line:Remove()
- end
- self.Tracers = {}
- end
- -- Aimbot
- function CollectionScript:StartAimbot()
- self:StopAimbot()
- self.Connections.Aimbot = game:GetService("RunService").RenderStepped:Connect(function()
- if not self.Config.AimbotEnabled or not self.HRP then return end
- local closest = nil
- local closestDist = self.Config.AimbotDistance
- for _, player in pairs(game:GetService("Players"):GetPlayers()) do
- if player ~= self.Player and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- local root = player.Character.HumanoidRootPart
- local dist = (root.Position - self.HRP.Position).Magnitude
- if dist <= closestDist then
- closestDist = dist
- closest = root
- end
- end
- end
- if closest then
- CollectionScript.Camera.CFrame = CFrame.new(CollectionScript.Camera.CFrame.Position, closest.Position)
- end
- end)
- end
- function CollectionScript:StopAimbot()
- if self.Connections.Aimbot then self.Connections.Aimbot:Disconnect() end
- end
- -- Anti Attack
- function CollectionScript:StartAntiAttack()
- self:StopAntiAttack()
- self.Connections.AntiAttack = game:GetService("RunService").Heartbeat:Connect(function()
- if not self.Config.AntiAttackEnabled or not self.HRP then return end
- local vel = self.HRP.Velocity
- if vel.Magnitude > 100 then
- self.HRP.Velocity = Vector3.new(vel.X * 0.1, vel.Y, vel.Z * 0.1)
- end
- end)
- end
- function CollectionScript:StopAntiAttack()
- if self.Connections.AntiAttack then self.Connections.AntiAttack:Disconnect() end
- end
- -- Stop All
- function CollectionScript:StopAll()
- self:StopFly()
- self:StopNoClip()
- self:StopESP()
- self:StopTracers()
- self:StopAimbot()
- self:StopAntiAttack()
- self:StopFastAttack()
- if self.Connections.AntiReset then self.Connections.AntiReset:Disconnect() end
- end
- -- Inicializa
- CollectionScript:CreateGUI()
- 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