Universal Script 📌
20.8k Views
423 Executions

OpenSource Aimbot

Universal Script 📌
jidwajifesfeswfs
jidwajifesfeswfsFirst script
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

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

Also noticed:

Description

OpenSource Aimbot click Right mouse button to make aimbot work

Updates

  1. Script edited: Update script

View Raw
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local aimbotActive = false

function getClosestPlayer()
    local closestPlayer = nil
    local closestDistance = math.huge

    for _, target in pairs(game.Players:GetPlayers()) do
        if target ~= player and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
            local distance = (target.Character.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).magnitude
            if distance < closestDistance then
                closestDistance = distance
                closestPlayer = target
            end
        end
    end

    return closestPlayer
end

function aimAt(target)
    if target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
        workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position, target.Character.HumanoidRootPart.Position)
    end
end

mouse.Button2Down:Connect(function()
    aimbotActive = true
end)

mouse.Button2Up:Connect(function()
    aimbotActive = false
end)

game:GetService("RunService").RenderStepped:Connect(function()
    if aimbotActive then
        local closestPlayer = getClosestPlayer()
        if closestPlayer then
            aimAt(closestPlayer)


Comments

2
Log in to join the conversation. Login
ivanshiyan321's profile picture
ivanshiyan3212 years ago(edited)

no have teamcheck

1
caehz_3's profile picture
caehz_31 month ago

@ivanshiyan321 add it

1

Tags

More universal scripts

See all
Universal Script 📌
48.4k
46.5k
Bumped 1 hour ago
Universal Script 📌
1.4k
1.3k
Bumped 4 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 5 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 6 hours ago
Script hub
3.5M
1.2M
Bumped 7 hours ago
Key System
Universal Script 📌
5.0k
92.0k
Bumped 12 hours ago