
20.7k Views
331 Executions
OpenSource Aimbot
Universal Script 📌
jidwajifesfeswfsFirst script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
OpenSource Aimbot click Right mouse button to make aimbot work
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)









no have teamcheck
@ivanshiyan321 add it