-- Pedrinho Aim v1.0 -- Script de Aimbot com Team Check e Wall Check local LocalPlayer = game:GetService("Players").LocalPlayer local Camera = workspace.CurrentCamera local Mouse = LocalPlayer:GetMouse() local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") -- Criar interface principal local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local TitleBar = Instance.new("Frame") local TitleText = Instance.new("TextLabel") local CloseButton = Instance.new("TextButton") local MinimizeButton = Instance.new("TextButton") local TabButtons = Instance.new("Frame") local AimTab = Instance.new("TextButton") local VisualsTab = Instance.new("TextButton") local SettingsTab = Instance.new("TextButton") local TabContainer = Instance.new("Frame") -- Configurar GUI ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") ScreenGui.Name = "PedrinhoAim" ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -- Frame principal MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) MainFrame.BorderSizePixel = 0 MainFrame.Position = UDim2.new(0.5, -200, 0.5, -150) MainFrame.Size = UDim2.new(0, 400, 0, 300) MainFrame.Active = true MainFrame.Draggable = true MainFrame.ClipsDescendants = true -- Barra de título TitleBar.Name = "TitleBar" TitleBar.Parent = MainFrame TitleBar.BackgroundColor3 = Color3.fromRGB(20, 20, 25) TitleBar.BorderSizePixel = 0 TitleBar.Size = UDim2.new(1, 0, 0, 30) TitleText.Name = "TitleText" TitleText.Parent = TitleBar TitleText.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TitleText.BackgroundTransparency = 1 TitleText.Position = UDim2.new(0, 10, 0, 0) TitleText.Size = UDim2.new(0, 100, 1, 0) TitleText.Font = Enum.Font.GothamBold TitleText.Text = "Pedrinho Aim" TitleText.TextColor3 = Color3.fromRGB(255, 255, 255) TitleText.TextSize = 16 TitleText.TextXAlignment = Enum.TextXAlignment.Left CloseButton.Name = "CloseButton" CloseButton.Parent = TitleBar CloseButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50) CloseButton.Position = UDim2.new(1, -25, 0, 5) CloseButton.Size = UDim2.new(0, 20, 0, 20) CloseButton.Font = Enum.Font.GothamBold CloseButton.Text = "X" CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.TextSize = 14 CloseButton.BorderSizePixel = 0 CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) MinimizeButton.Name = "MinimizeButton" MinimizeButton.Parent = TitleBar MinimizeButton.BackgroundColor3 = Color3.fromRGB(50, 50, 55) MinimizeButton.Position = UDim2.new(1, -50, 0, 5) MinimizeButton.Size = UDim2.new(0, 20, 0, 20) MinimizeButton.Font = Enum.Font.GothamBold MinimizeButton.Text = "-" MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) MinimizeButton.TextSize = 14 MinimizeButton.BorderSizePixel = 0 MinimizeButton.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) -- Abas TabButtons.Name = "TabButtons" TabButtons.Parent = MainFrame TabButtons.BackgroundColor3 = Color3.fromRGB(25, 25, 30) TabButtons.BorderSizePixel = 0 TabButtons.Position = UDim2.new(0, 0, 0, 30) TabButtons.Size = UDim2.new(1, 0, 0, 35) AimTab.Name = "AimTab" AimTab.Parent = TabButtons AimTab.BackgroundColor3 = Color3.fromRGB(255, 50, 50) AimTab.Position = UDim2.new(0, 0, 0, 0) AimTab.Size = UDim2.new(0.333, 0, 1, 0) AimTab.Font = Enum.Font.Gotham AimTab.Text = "AIMBOT" AimTab.TextColor3 = Color3.fromRGB(255, 255, 255) AimTab.TextSize = 14 AimTab.BorderSizePixel = 0 VisualsTab.Name = "VisualsTab" VisualsTab.Parent = TabButtons VisualsTab.BackgroundColor3 = Color3.fromRGB(40, 40, 45) VisualsTab.Position = UDim2.new(0.333, 0, 0, 0) VisualsTab.Size = UDim2.new(0.334, 0, 1, 0) VisualsTab.Font = Enum.Font.Gotham VisualsTab.Text = "VISUAIS" VisualsTab.TextColor3 = Color3.fromRGB(255, 255, 255) VisualsTab.TextSize = 14 VisualsTab.BorderSizePixel = 0 SettingsTab.Name = "SettingsTab" SettingsTab.Parent = TabButtons SettingsTab.BackgroundColor3 = Color3.fromRGB(40, 40, 45) SettingsTab.Position = UDim2.new(0.667, 0, 0, 0) SettingsTab.Size = UDim2.new(0.333, 0, 1, 0) SettingsTab.Font = Enum.Font.Gotham SettingsTab.Text = "CONFIG" SettingsTab.TextColor3 = Color3.fromRGB(255, 255, 255) SettingsTab.TextSize = 14 SettingsTab.BorderSizePixel = 0 -- Container das abas TabContainer.Name = "TabContainer" TabContainer.Parent = MainFrame TabContainer.BackgroundColor3 = Color3.fromRGB(30, 30, 35) TabContainer.BorderSizePixel = 0 TabContainer.Position = UDim2.new(0, 0, 0, 65) TabContainer.Size = UDim2.new(1, 0, 1, -65) -- Criar abas local AimTabContent = Instance.new("ScrollingFrame") local VisualsTabContent = Instance.new("ScrollingFrame") local SettingsTabContent = Instance.new("ScrollingFrame") -- Configurar abas for _, tab in pairs({AimTabContent, VisualsTabContent, SettingsTabContent}) do tab.Parent = TabContainer tab.BackgroundColor3 = Color3.fromRGB(30, 30, 35) tab.BorderSizePixel = 0 tab.Size = UDim2.new(1, 0, 1, 0) tab.CanvasSize = UDim2.new(0, 0, 2, 0) tab.ScrollBarThickness = 5 tab.ScrollBarImageColor3 = Color3.fromRGB(255, 50, 50) tab.Visible = false end -- Mostrar aba Aimbot primeiro AimTabContent.Visible = true -- Função para trocar abas local function switchTab(tab) AimTabContent.Visible = false VisualsTabContent.Visible = false SettingsTabContent.Visible = false AimTab.BackgroundColor3 = Color3.fromRGB(40, 40, 45) VisualsTab.BackgroundColor3 = Color3.fromRGB(40, 40, 45) SettingsTab.BackgroundColor3 = Color3.fromRGB(40, 40, 45) if tab == "aim" then AimTabContent.Visible = true AimTab.BackgroundColor3 = Color3.fromRGB(255, 50, 50) elseif tab == "visuals" then VisualsTabContent.Visible = true VisualsTab.BackgroundColor3 = Color3.fromRGB(255, 50, 50) elseif tab == "settings" then SettingsTabContent.Visible = true SettingsTab.BackgroundColor3 = Color3.fromRGB(255, 50, 50) end end AimTab.MouseButton1Click:Connect(function() switchTab("aim") end) VisualsTab.MouseButton1Click:Connect(function() switchTab("visuals") end) SettingsTab.MouseButton1Click:Connect(function() switchTab("settings") end) -- Configurações local Settings = { Enabled = true, AimKey = "E", AimKeyEnum = Enum.KeyCode.E, Smoothness = 0.5, FOV = 120, VisibleCheck = true, TeamCheck = true, TargetPart = "Head", ShowFOV = true, ShowLockedTarget = true, ShowESP = false, ESPColor = Color3.fromRGB(255, 50, 50) } -- Criar elementos da UI local function createToggle(parent, name, default, callback, description) local frame = Instance.new("Frame") frame.Parent = parent frame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) frame.BorderSizePixel = 0 frame.Size = UDim2.new(1, -20, 0, 40) frame.Position = UDim2.new(0, 10, 0, #parent:GetChildren() * 45) local label = Instance.new("TextLabel") label.Parent = frame label.BackgroundTransparency = 1 label.Position = UDim2.new(0, 10, 0, 0) label.Size = UDim2.new(0, 200, 1, 0) label.Font = Enum.Font.Gotham label.Text = name label.TextColor3 = Color3.fromRGB(255, 255, 255) label.TextSize = 14 label.TextXAlignment = Enum.TextXAlignment.Left local desc = Instance.new("TextLabel") desc.Parent = frame desc.BackgroundTransparency = 1 desc.Position = UDim2.new(0, 10, 0, 20) desc.Size = UDim2.new(0, 200, 0, 15) desc.Font = Enum.Font.Gotham desc.Text = description or "" desc.TextColor3 = Color3.fromRGB(150, 150, 150) desc.TextSize = 11 desc.TextXAlignment = Enum.TextXAlignment.Left local button = Instance.new("TextButton") button.Parent = frame button.BackgroundColor3 = default and Color3.fromRGB(255, 50, 50) or Color3.fromRGB(60, 60, 65) button.Position = UDim2.new(1, -40, 0, 10) button.Size = UDim2.new(0, 30, 0, 20) button.Font = Enum.Font.Gotham button.Text = default and "ON" or "OFF" button.TextColor3 = Color3.fromRGB(255, 255, 255) button.TextSize = 11 button.BorderSizePixel = 0 local toggled = default button.MouseButton1Click:Connect(function() toggled = not toggled button.BackgroundColor3 = toggled and Color3.fromRGB(255, 50, 50) or Color3.fromRGB(60, 60, 65) button.Text = toggled and "ON" or "OFF" callback(toggled) end) return frame end local function createSlider(parent, name, min, max, default, callback, description) local frame = Instance.new("Frame") frame.Parent = parent frame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) frame.BorderSizePixel = 0 frame.Size = UDim2.new(1, -20, 0, 60) frame.Position = UDim2.new(0, 10, 0, #parent:GetChildren() * 45) local label = Instance.new("TextLabel") label.Parent = frame label.BackgroundTransparency = 1 label.Position = UDim2.new(0, 10, 0, 5) label.Size = UDim2.new(0, 200, 0, 20) label.Font = Enum.Font.Gotham label.Text = name label.TextColor3 = Color3.fromRGB(255, 255, 255) label.TextSize = 14 label.TextXAlignment = Enum.TextXAlignment.Left local desc = Instance.new("TextLabel") desc.Parent = frame desc.BackgroundTransparency = 1 desc.Position = UDim2.new(0, 10, 0, 25) desc.Size = UDim2.new(0, 200, 0, 15) desc.Font = Enum.Font.Gotham desc.Text = description or "" desc.TextColor3 = Color3.fromRGB(150, 150, 150) desc.TextSize = 11 desc.TextXAlignment = Enum.TextXAlignment.Left local sliderBg = Instance.new("Frame") sliderBg.Parent = frame sliderBg.BackgroundColor3 = Color3.fromRGB(40, 40, 45) sliderBg.Position = UDim2.new(0, 10, 0, 40) sliderBg.Size = UDim2.new(1, -80, 0, 5) local slider = Instance.new("Frame") slider.Parent = sliderBg slider.BackgroundColor3 = Color3.fromRGB(255, 50, 50) slider.Size = UDim2.new((default - min) / (max - min), 0, 1, 0) local valueLabel = Instance.new("TextLabel") valueLabel.Parent = frame valueLabel.BackgroundTransparency = 1 valueLabel.Position = UDim2.new(1, -60, 0, 35) valueLabel.Size = UDim2.new(0, 50, 0, 20) valueLabel.Font = Enum.Font.Gotham valueLabel.Text = tostring(default) valueLabel.TextColor3 = Color3.fromRGB(255, 50, 50) valueLabel.TextSize = 14 local dragging = false sliderBg.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true end end) sliderBg.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) UserInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local pos = UserInputService:GetMouseLocation() local absPos = sliderBg.AbsolutePosition local size = sliderBg.AbsoluteSize.X local relative = math.clamp((pos.X - absPos.X) / size, 0, 1) local value = math.floor(min + (max - min) * relative) valueLabel.Text = tostring(value) slider.Size = UDim2.new(relative, 0, 1, 0) callback(value) end end) return frame end local function createDropdown(parent, name, options, default, callback, description) local frame = Instance.new("Frame") frame.Parent = parent frame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) frame.BorderSizePixel = 0 frame.Size = UDim2.new(1, -20, 0, 60) frame.Position = UDim2.new(0, 10, 0, #parent:GetChildren() * 45) local label = Instance.new("TextLabel") label.Parent = frame label.BackgroundTransparency = 1 label.Position = UDim2.new(0, 10, 0, 5) label.Size = UDim2.new(0, 200, 0, 20) label.Font = Enum.Font.Gotham label.Text = name label.TextColor3 = Color3.fromRGB(255, 255, 255) label.TextSize = 14 label.TextXAlignment = Enum.TextXAlignment.Left local desc = Instance.new("TextLabel") desc.Parent = frame desc.BackgroundTransparency = 1 desc.Position = UDim2.new(0, 10, 0, 25) desc.Size = UDim2.new(0, 200, 0, 15) desc.Font = Enum.Font.Gotham desc.Text = description or "" desc.TextColor3 = Color3.fromRGB(150, 150, 150) desc.TextSize = 11 desc.TextXAlignment = Enum.TextXAlignment.Left local button = Instance.new("TextButton") button.Parent = frame button.BackgroundColor3 = Color3.fromRGB(40, 40, 45) button.Position = UDim2.new(0, 10, 0, 40) button.Size = UDim2.new(1, -20, 0, 25) button.Font = Enum.Font.Gotham button.Text = default button.TextColor3 = Color3.fromRGB(255, 255, 255) button.TextSize = 12 button.BorderSizePixel = 0 local dropdown = Instance.new("Frame") dropdown.Parent = frame dropdown.BackgroundColor3 = Color3.fromRGB(30, 30, 35) dropdown.Position = UDim2.new(0, 10, 0, 65) dropdown.Size = UDim2.new(1, -20, 0, 0) dropdown.ClipsDescendants = true dropdown.Visible = false local expanded = false button.MouseButton1Click:Connect(function() expanded = not expanded dropdown.Visible = expanded if expanded then dropdown.Size = UDim2.new(1, -20, 0, #options * 25) else dropdown.Size = UDim2.new(1, -20, 0, 0) end end) for i, option in ipairs(options) do local optionBtn = Instance.new("TextButton") optionBtn.Parent = dropdown optionBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 45) optionBtn.Position = UDim2.new(0, 0, 0, (i-1) * 25) optionBtn.Size = UDim2.new(1, 0, 0, 25) optionBtn.Font = Enum.Font.Gotham optionBtn.Text = option optionBtn.TextColor3 = Color3.fromRGB(255, 255, 255) optionBtn.TextSize = 12 optionBtn.BorderSizePixel = 0 optionBtn.MouseButton1Click:Connect(function() button.Text = option dropdown.Visible = false dropdown.Size = UDim2.new(1, -20, 0, 0) expanded = false callback(option) end) end return frame end -- Preencher abas com elementos -- Aba Aimbot createToggle(AimTabContent, "Ativar Aimbot", Settings.Enabled, function(v) Settings.Enabled = v end, "Liga/Desliga o aimbot") createSlider(AimTabContent, "Suavidade", 0, 1, Settings.Smoothness, function(v) Settings.Smoothness = v end, "0 = instantâneo, 1 = suave") createSlider(AimTabContent, "FOV", 30, 300, Settings.FOV, function(v) Settings.FOV = v end, "Campo de visão em pixels") createToggle(AimTabContent, "Wall Check", Settings.VisibleCheck, function(v) Settings.VisibleCheck = v end, "Verifica se o alvo está visível") createToggle(AimTabContent, "Team Check", Settings.TeamCheck, function(v) Settings.TeamCheck = v end, "Não mira em aliados") createDropdown(AimTabContent, "Parte do Corpo", {"Head", "HumanoidRootPart", "Torso", "UpperTorso"}, Settings.TargetPart, function(v) Settings.TargetPart = v end, "Onde o aimbot vai mirar") -- Aba Visuais createToggle(VisualsTabContent, "Mostrar FOV", Settings.ShowFOV, function(v) Settings.ShowFOV = v end, "Mostra o círculo do FOV") createToggle(VisualsTabContent, "Mostrar Alvo", Settings.ShowLockedTarget, function(v) Settings.ShowLockedTarget = v end, "Mostra indicador no alvo") -- Aba Configurações createDropdown(SettingsTabContent, "Tecla de Ativação", {"E", "Q", "X", "C", "V", "B", "LeftShift", "RightShift"}, Settings.AimKey, function(v) Settings.AimKey = v local keyMap = { E = Enum.KeyCode.E, Q = Enum.KeyCode.Q, X = Enum.KeyCode.X, C = Enum.KeyCode.C, V = Enum.KeyCode.V, B = Enum.KeyCode.B, LeftShift = Enum.KeyCode.LeftShift, RightShift = Enum.KeyCode.RightShift } Settings.AimKeyEnum = keyMap[v] or Enum.KeyCode.E end, "Tecla para ativar o aimbot") -- Elementos visuais do aimbot local FOVCircle = Instance.new("Frame") local UICorner = Instance.new("UICorner") local TargetIndicator = Instance.new("Frame") FOVCircle.Name = "FOVCircle" FOVCircle.Parent = ScreenGui FOVCircle.BackgroundColor3 = Color3.new(1, 1, 1) FOVCircle.BackgroundTransparency = 0.9 FOVCircle.BorderSizePixel = 0 FOVCircle.Visible = Settings.ShowFOV UICorner.Parent = FOVCircle UICorner.CornerRadius = UDim.new(0.5, 0) TargetIndicator.Name = "TargetIndicator" TargetIndicator.Parent = ScreenGui TargetIndicator.BackgroundColor3 = Color3.new(1, 0, 0) TargetIndicator.BorderSizePixel = 0 TargetIndicator.Size = UDim2.new(0, 10, 0, 10) TargetIndicator.Visible = false -- Código do aimbot local currentTarget = nil local aimActive = false local function canAimAt(player) if not player or player == LocalPlayer then return false end local character = player.Character if not character then return false end local humanoid = character:FindFirstChild("Humanoid") if not humanoid or humanoid.Health <= 0 then return false end if Settings.TeamCheck and LocalPlayer.Team and player.Team and LocalPlayer.Team == player.Team then return false end return true end local function isVisible(targetPart) if not Settings.VisibleCheck then return true end local cameraPos = Camera.CFrame.Position local targetPos = targetPart.Position local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Blacklist params.FilterDescendantsInstances = {LocalPlayer.Character, targetPart.Parent} local raycastResult = workspace:Raycast(cameraPos, (targetPos - cameraPos).Unit * (targetPos - cameraPos).Magnitude, params) return raycastResult == nil or raycastResult.Instance:IsDescendantOf(targetPart.Parent) end local function findBestTarget() local closestTarget = nil local shortestDistance = Settings.FOV for _, player in ipairs(game:GetService("Players"):GetPlayers()) do if canAimAt(player) then local character = player.Character local targetPart = character:FindFirstChild(Settings.TargetPart) if targetPart and isVisible(targetPart) then local screenPoint, onScreen = Camera:WorldToScreenPoint(targetPart.Position) if onScreen then local distance = (Vector2.new(screenPoint.X, screenPoint.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude if distance < shortestDistance then shortestDistance = distance closestTarget = player end end end end end return closestTarget end local function aimAt(target) if not target or not aimActive then TargetIndicator.Visible = false return end local character = target.Character if not character then TargetIndicator.Visible = false return end local targetPart = character:FindFirstChild(Settings.TargetPart) if not targetPart or not isVisible(targetPart) then TargetIndicator.Visible = false return end local screenPoint = Camera:WorldToScreenPoint(targetPart.Position) if Settings.ShowLockedTarget then TargetIndicator.Position = UDim2.new(0, screenPoint.X - 5, 0, screenPoint.Y - 5) TargetIndicator.Visible = true end if Settings.Smoothness > 0 then local currentPos = Vector2.new(Mouse.X, Mouse.Y) local targetPos = Vector2.new(screenPoint.X, screenPoint.Y) local newPos = currentPos:Lerp(targetPos, 1 - Settings.Smoothness) UserInputService:MoveMouse(newPos.X, newPos.Y) else UserInputService:MoveMouse(screenPoint.X, screenPoint.Y) end end -- Input handling UserInputService.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and input.KeyCode == Settings.AimKeyEnum then aimActive = true end end) UserInputService.InputEnded:Connect(function(input, gameProcessed) if input.KeyCode == Settings.AimKeyEnum then aimActive = false TargetIndicator.Visible = false end end) -- Loop principal RunService.RenderStepped:Connect(function() if not Settings.Enabled then TargetIndicator.Visible = false return end if aimActive then local bestTarget = findBestTarget() if bestTarget then aimAt(bestTarget) currentTarget = bestTarget else TargetIndicator.Visible = false end end FOVCircle.Visible = Settings.ShowFOV if Settings.ShowFOV then FOVCircle.Size = UDim2.new(0, Settings.FOV * 2, 0, Settings.FOV * 2) FOVCircle.Position = UDim2.new(0.5, -Settings.FOV, 0.5, -Settings.FOV) end end) -- Notificação local Notification = Instance.new("Frame") Notification.Parent = ScreenGui Notification.BackgroundColor3 = Color3.fromRGB(255, 50, 50) Notification.Position = UDim2.new(0.5, -150, 0, 10) Notification.Size = UDim2.new(0, 300, 0, 40) local NotifText = Instance.new("TextLabel") NotifText.Parent = Notification NotifText.BackgroundTransparency = 1 NotifText.Size = UDim2.new(1, 0, 1, 0) NotifText.Font = Enum.Font.GothamBold NotifText.Text = "Pedrinho Aim carregado! Pressione " .. Settings.AimKey .. " para ativar" NotifText.TextColor3 = Color3.fromRGB(255, 255, 255) NotifText.TextSize = 14 task.wait(3) Notification:Destroy() print("Pedrinho Aim v1.0 carregado com sucesso!")