Professional Documents
Culture Documents
Proximity AutoAim Script
Proximity AutoAim Script
-- Settings
local Settings = {
BindKey = "Q" -- Custom Key
}
return closestPlayer
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)