Universal Script 📌
624 Views
13 Executions

open src aimbot works

Universal Script 📌
proscirpt
proscirptPublished 5
10 months 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

very nice aimbot

View Raw
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")

local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
local mouse = player:GetMouse()

local locked = false
local target = nil

local LOCK_KEY = Enum.KeyCode.C
local TARGET_PART = "Head"
local MAX_DISTANCE = 500

local function GetTarget()
    local closest = nil
    local shortestDist = math.huge
    
    for _, v in pairs(Players:GetPlayers()) do
        if v ~= player and v.Character then
            local char = v.Character
            local humanoid = char:FindFirstChild("Humanoid")
            local part = char:FindFirstChild(TARGET_PART)
            
            if humanoid and humanoid.Health > 0 and part then
                local pos, onScreen = camera:WorldToScreenPoint(part.Position)
                if onScreen then
                    local dist = (Vector2.new(mouse.X, mouse.Y) - Vector2.new(pos.X, pos.Y)).Magnitude
                    if dist < shortestDist and dist < MAX_DISTANCE then
                        shortestDist = dist
                        closest = part
                    end
                end
            end
        end
    end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
8
0
Approved 10 minutes ago
Universal Script 📌
21
4
Approved 27 minutes ago
Universal Script 📌
20
1
Approved 45 minutes ago
Universal Script 📌
2.5k
13.6k
Bumped 45 minutes ago
Script hub
3.9M
1.5M
Bumped 1 hour ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 20+ supported Games