What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

Fling Things and People, aimbot

Version / Update: v1.0.0
Download / Script Link
--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Shevon", Text = "Нажми на q чтобы включить"})

local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera

-- Settings
local Settings = {
BindKey = "Q" -- Custom Key
}

local isClicking = false

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

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

return closestPlayer
end

local function aimAt(target)
if target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
local targetPosition = target.Character.HumanoidRootPart.Position
Camera.CFrame = CFrame.new(Camera.CFrame.Position, targetPosition)

if not isClicking then
isClicking = true
mouse1click()
isClicking = false
end
end
end

UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode[Settings.BindKey:upper()] and not gameProcessed then
local closestPlayer = getClosestPlayer()
aimAt(closestPlayer)
end
end)
[ View More ]
4d10f4e8-9160-49a3-bab0-ac673bac00d8.webp


Aimbot, you just press q, and you will automatically pick up the person who is closest to you.
 
Back
Top