Run it
Copy the script and paste it into your executor.
--[[
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
()
closestPlayer =
shortestDistance = .huge
_, player (Players:())
player ~= LocalPlayer player.Character player.Character:()
distance = (player.Character.HumanoidRootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).magnitude
distance < shortestDistance
closestPlayer = player
shortestDistance = distance
closestPlayer
(target)
target target.Character target.Character:()
targetPosition = target.Character.HumanoidRootPart.Position
Camera.CFrame = .(Camera.CFrame.Position, targetPosition)
isClicking
isClicking =
()
isClicking =
UserInputService.InputBegan:((input, gameProcessed)
input.KeyCode == .KeyCode[Settings.BindKey:()] gameProcessed
closestPlayer = ()
(closestPlayer)
)Script

Universal