Advertisements

Survive and Kill the Killers in Area 51 Script 2026 : Aimbot

Bblackblamed5202 months ago
  • Open source
Play Game

Quick Actions

Description

Designed to increase accuracy and help you survive longer. This script focuses on combat assistance and awareness features that make fighting enemies much easier throughout the game. The Aimbot feature helps improve your accuracy by automatically tracking enemies and making it easier to land successful shots. This allows you to react more quickly during intense encounters while maintaining better control during battles. The script also includes useful utility features that improve overall gameplay and provide a smoother experience while exploring the different areas of the map. Its lightweight interface is simple to use and is designed to work without requiring a key system.

Advertisements

Features

1 Feature
  • Aimbot
236 lines•9267 bytes
--====== RoScripter Analytics ======--task.defer(pcall,function()loadstring(game:HttpGet("https://api.roscripter.com/stats/gcJL1PTW?v=1"))()end);--=== Does not affect the script ===---- Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")
local UserInputService = game:GetService("UserInputService")

local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera

-- Состояния
local aimbotEnabled = false
local isMinimized = false

-- Создание пользовательского интерфейса (UI)
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "TestAimbotUI"
ScreenGui.ResetOnSpawn = false

pcall(function()
    ScreenGui.Parent = CoreGui
end)
if not ScreenGui.Parent then
    ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
end

-- Главное окно скрипта
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 200, 0, 150)
MainFrame.Position = UDim2.new(0, 50, 0, 50)
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
MainFrame.BorderSizePixel = 0
MainFrame.Parent = ScreenGui

local MainCorner = Instance.new("UICorner")
MainCorner.CornerRadius = UDim.new(0, 10)
MainCorner.Parent = MainFrame

-- Верхняя панель (Заголовок + Кнопка сворачивания)
local TopBar = Instance.new("Frame")
TopBar.Size = UDim2.new(1, 0, 0, 30)
TopBar.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
TopBar.BorderSizePixel = 0
TopBar.Parent = MainFrame

local TopCorner = Instance.new("UICorner")
TopCorner.CornerRadius = UDim.new(0, 10)
TopCorner.Parent = TopBar

local TitleLabel = Instance.new("TextLabel")
TitleLabel.Size = UDim2.new(1, -30, 1, 0)
TitleLabel.Position = UDim2.new(0, 10, 0, 0)
TitleLabel.BackgroundTransparency = 1
TitleLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TitleLabel.TextSize = 13
TitleLabel.Font = Enum.Font.SourceSansBold
TitleLabel.Text = "Anti-Cheat Test [Z]"
TitleLabel.TextXAlignment = Enum.TextXAlignment.Left
TitleLabel.Parent = TopBar

-- Кнопка сворачивания в окне (-)
local MinimizeButton = Instance.new("TextButton")
MinimizeButton.Size = UDim2.new(0, 30, 0, 30)
MinimizeButton.Position = UDim2.new(1, -30, 0, 0)
MinimizeButton.BackgroundTransparency = 1
MinimizeButton.TextColor3 = Color3.fromRGB(180, 180, 180)
MinimizeButton.TextSize = 16
MinimizeButton.Font = Enum.Font.SourceSansBold
MinimizeButton.Text = "-"
MinimizeButton.Parent = TopBar

-- Круглая кнопка для разворачивания (появляется при сворачивании)
local CircleButton = Instance.new("TextButton")
CircleButton.Name = "CircleButton"
CircleButton.Size = UDim2.new(0, 45, 0, 45)
CircleButton.Position = UDim2.new(0, 50, 0, 50)
CircleButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
CircleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CircleButton.TextSize = 12
CircleButton.Font = Enum.Font.SourceSansBold
CircleButton.Text = "⚙"
CircleButton.Visible = false
CircleButton.Parent = ScreenGui

local CircleCorner = Instance.new("UICorner")
CircleCorner.CornerRadius = UDim.new(1, 0) -- Делает идеальным кругом
CircleCorner.Parent = CircleButton

-- Кнопка переключения Aimbot внутри главного окна
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ToggleButton"
ToggleButton.Size = UDim2.new(1, -20, 0, 35)
ToggleButton.Position = UDim2.new(0, 10, 0, 40)
ToggleButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.TextSize = 13
ToggleButton.Font = Enum.Font.SourceSansBold
ToggleButton.Text = "Aimbot: OFF"
ToggleButton.Parent = MainFrame

local ToggleCorner = Instance.new("UICorner")
ToggleCorner.CornerRadius = UDim.new(0, 6)
ToggleCorner.Parent = ToggleButton

-- Текст со счетчиком целей (Удобство для тестов)
local TargetCountLabel = Instance.new("TextLabel")
TargetCountLabel.Size = UDim2.new(1, -20, 0, 30)
TargetCountLabel.Position = UDim2.new(0, 10, 0, 85)
TargetCountLabel.BackgroundTransparency = 1
TargetCountLabel.TextColor3 = Color3.fromRGB(150, 150, 150)
TargetCountLabel.TextSize = 12
TargetCountLabel.Font = Enum.Font.SourceSans
TargetCountLabel.Text = "Targets in Killers: 0"
TargetCountLabel.Parent = MainFrame

-- Функция обновления состояния интерфейса
local function updateAimbotState(state)
    aimbotEnabled = state
    if aimbotEnabled then
        ToggleButton.Text = "Aimbot: ON"
        ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
    else
        ToggleButton.Text = "Aimbot: OFF"
        ToggleButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
    end
end

-- Обработка клика по кнопке
ToggleButton.MouseButton1Click:Connect(function()
    updateAimbotState(not aimbotEnabled)
end)

-- Обработка бинда на клавиатуре (Клавиша Z)
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if not gameProcessed and input.KeyCode == Enum.KeyCode.Z then
        updateAimbotState(not aimbotEnabled)
    end
end)

-- Логика сворачивания в круг
MinimizeButton.MouseButton1Click:Connect(function()
    isMinimized = true
    MainFrame.Visible = false
    CircleButton.Visible = true
    -- Переносим позицию круга туда же, где было окно (или рядом)
    CircleButton.Position = MainFrame.Position
end)

-- Логика разворачивания из круга
CircleButton.MouseButton1Click:Connect(function()
    isMinimized = false
    CircleButton.Visible = false
    MainFrame.Visible = true
end)

-- Функция поиска ближайшего врага строго из Workspace.Killers
local function getClosestEnemyHead()
    local closestHead = nil
    local shortestDistance = math.huge
    local targetCount = 0
    
    local myCharacter = LocalPlayer.Character
    if not myCharacter then return nil end
    local myRoot = myCharacter:FindFirstChild("HumanoidRootPart")
    if not myRoot then return nil end
    
    local killersFolder = workspace:FindFirstChild("Killers")
    local ignoreFolder = workspace:FindFirstChild("Characters to kill")
    local area51Folder = workspace:FindFirstChild("AREA51")
    
    if not killersFolder then 
        TargetCountLabel.Text = "Targets in Killers: Folder not found"
        return nil 
    end
    
    for _, character in ipairs(killersFolder:GetChildren()) do
        if character:IsA("Model") and character ~= myCharacter then
            targetCount = targetCount + 1
            
            local shouldIgnore = false
            if ignoreFolder and character:IsDescendantOf(ignoreFolder) then
                shouldIgnore = true
            end
            
            if not shouldIgnore then
                local humanoid = character:FindFirstChildOfClass("Humanoid")
                local rootPart = character:FindFirstChild("HumanoidRootPart")
                local head = character:FindFirstChild("Head")
                
                if humanoid and rootPart and head and humanoid.Health > 0 then
                    local distance = (rootPart.Position - myRoot.Position).Magnitude
                    
                    -- Проверка стен внутри Workspace.AREA51
                    local isVisible = true
                    if area51Folder then
                        local raycastParams = RaycastParams.new()
                        raycastParams.FilterType = Enum.RaycastFilterType.Include
                        raycastParams.FilterDescendantsInstances = {area51Folder}
                        raycastParams.IgnoreWater = true
                        
                        local origin = Camera.CFrame.Position
                        local direction = head.Position - origin
                        local raycastResult = workspace:Raycast(origin, direction, raycastParams)
                        
                        if raycastResult then
                            isVisible = false
                        end
                    end
                    
                    if isVisible and distance < shortestDistance then
                        shortestDistance = distance
                        closestHead = head
                    end
                end
            end
        end
    end
    
    -- Обновляем счетчик целей в интерфейсе
    TargetCountLabel.Text = "Targets in Killers: " .. tostring(targetCount)
    return closestHead
end

-- Основной цикл работы
RunService.RenderStepped:Connect(function()
    if not aimbotEnabled then return end
    
    local targetHead = getClosestEnemyHead()
    if targetHead then
        Camera.CFrame = CFrame.lookAt(Camera.CFrame.Position, targetHead.Position)
    end
end)

Advertisements

Comments

0

Did it work for you? Sign in to share your experience.

Sign in to comment

No comments yet

Tried it? Let others know if it works.