Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
local rotationSpeed = 5 -- скорость поворота камеры
local function getNearestEnemy()
local character = player.Character
if not character then return nil end
local rootPart = character:FindFirstChild("HumanoidRootPart")
if rootPart
closestPlayer =
closestDistance = .huge
_, otherPlayer (Players:())
otherPlayer ~= player otherPlayer.Character
otherRoot = otherPlayer.Character:()
otherRoot
dist = (otherRoot.Position - rootPart.Position).Magnitude
dist < closestDistance
closestDistance = dist
closestPlayer = otherPlayer
closestPlayer
RunService.RenderStepped:((dt)
targetPlayer = ()
targetPlayer targetPlayer.Character
targetRoot = targetPlayer.Character:()
targetRoot
camPos = camera.CFrame.Position
targetPos = targetRoot.Position
direction = (targetPos - camPos).Unit
currentLook = camera.CFrame.LookVector
newLook = currentLook:(direction, .(rotationSpeed * dt, , ))
camera.CFrame = .(camPos, camPos + newLook)
)AIM BOT

[FPS] Flick