General Quarters [UPDATE]
1.1k Views
379 Executions

OPEN SOURCE AImbot

General Quarters
NameSicklyy
NameSicklyyPublished 10
7 months ago
Please login to perform these actions:

OPEN SOURCE AImbot is a General Quarters script for Roblox, uploaded to ScriptBlox on Mar 18, 2026.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

aimbot

View Raw
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Vehicles = workspace:WaitForChild("Vehicles")

-- --- [ CONFIGURATION ] ---
local AimKey = Enum.UserInputType.MouseButton2 -- กดปุ่มขวาค้างเพื่อล็อกเป้า
local Smoothness = 0.15 -- ความสมูท (0.1 = ลื่นมาก, 1 = ล็อกทันที)
local AimDistance = 5000 -- ระยะล็อกสูงสุด (เมตร)
local TargetName = "AircraftBot" -- หรือ "ShipBot"
-- -------------------------

local Locking = false
local CurrentTarget = nil

-- ฟังก์ชันหาเป้าหมายที่ใกล้ "เป้าเล็ง" ที่สุด
local function getClosestTarget()
    local closest = nil
    local shortestMouseDist = math.huge

    for _, bot in ipairs(Vehicles:GetChildren()) do
        if (bot.Name == "AircraftBot" or bot.Name == "ShipBot") then
            local model = bot:FindFirstChild("Model")
            local targetPart = model and model:FindFirstChildWhichIsA("BasePart")
            
            if targetPart then
                -- ตรวจสอบว่าอยู่ในระยะ และอยู่ในหน้าจอไหม
                local screenPos, onScreen = Camera:WorldToViewportPoint(targetPart.Position)
                local dist = (LocalPlayer.Character.HumanoidRootPart.Position - targetPart.Position).Magnitude
                
                if onScreen and dist < AimDistance then
                    -- คำนวณความห่างจากกลางหน้าจอ (FOV-based Targeting)
                    local mousePos = UserInputService:GetMouseLocation()
                    local mouseDist = (Vector2.new(screenPos.X, screenPos.Y) - mousePos).Magnitude
                    
                    if mouseDist < shortestMouseDist then
                        shortestMouseDist = mouseDist
                        closest = targetPart


Comments

2
Log in to join the conversation. Login
Koshak522's profile picture
Koshak5224 months ago

Не работает на дельте

1
wirag473's profile picture
wirag4736 months ago

Add mobile support pls

1

More General Quarters scripts

See all
Brookhaven 🏡RP
6.3k
160.5k
Bumped 51 minutes ago
Prison Life
123
14
Approved 3 hours ago
[🎃] Anime Dice
129
20
Approved 3 hours ago
Steal An Egg
28.6k
248.7k
Bumped 3 hours ago
Key System
Illegal Soccer
5.2k
34.5k
Bumped 3 hours ago