local Camera = workspace.CurrentCamera local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local LocalPlayer = Players.LocalPlayer local Holding = false _G.AimbotEnabled = true _G.TeamCheck = true -- true dersen düşmana _G.AimPart = "Head" -- nereye kilitlensin _G.Sensitivity = 0 -- hedefde ne kadar sure dursun local function GetClosestPlayer() local MaximumDistance = math.huge local Target = nil coroutine.wrap(function() wait(20); MaximumDistance = math.huge end)() for _, v in next, Players:GetPlayers() do if v.Name ~= LocalPlayer.Name then if _G.TeamCheck == true then if v.Team ~= LocalPlayer.Team then if v.Character ~= nil then if v.Character:FindFirstChild("HumanoidRootPart") ~= nil then if v.Character:FindFirstChild("Humanoid") ~= nil and v.Character:FindFirstChild("Humanoid").Health ~= 0 then local ScreenPoint = Camera:WorldToScreenPoint(v.Character:WaitForChild("HumanoidRootPart", math.huge).Position) local VectorDistance = (Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y) - Vector2.new(ScreenPoint.X, ScreenPoint.Y)).Magnitude if VectorDistance < MaximumDistance then Target = v MaximumDistance = VectorDistance end end end end end else if v.Character ~= nil then if v.Character:FindFirstChild("HumanoidRootPart") ~= nil then if v.Character:FindFirstChild("Humanoid") ~= nil and v.Character:FindFirstChild("Humanoid").Health ~= 0 then local ScreenPoint = Camera:WorldToScreenPoint(v.Character:WaitForChild("HumanoidRootPart", math.huge).Position) local VectorDistance = (Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y) - Vector2.new(ScreenPoint.X, ScreenPoint.Y)).Magnitude if VectorDistance < MaximumDistance then Target = v MaximumDistance = VectorDistance end end end end end end end return Target end UserInputService.InputBegan:Connect(function(Input) if Input.UserInputType == Enum.UserInputType.MouseButton3 then -- exp ayarla Holding = true end end) UserInputService.InputEnded:Connect(function(Input) -- salaklık edip tuşu atamayı unutma if Input.UserInputType == Enum.UserInputType.MouseButton3 then Holding = false end end) RunService.RenderStepped:Connect(function() if Holding == true and _G.AimbotEnabled == true then TweenService:Create(Camera, TweenInfo.new(_G.Sensitivity, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {CFrame = CFrame.new(Camera.CFrame.Position, GetClosestPlayer().Character[_G.AimPart].Position)}):Play() end end)