Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local localPlayer = Players.LocalPlayer
local camera = workspace.CurrentCamera
local mouse = localPlayer:GetMouse()
local wtvp = camera.WorldToViewportPoint
local function getClosestPlayerHead()
local target
local distance = math.huge
for i, v in ipairs(Players.GetPlayers(Players)) do
if v == localPlayer or not v.Character then continue end
local character = v.Character
if character.FindFirstChild(character, )
head = character.Head
headPos, onScreen = (camera, head.Position)
onScreen
mouseDist = (.(mouse.X, mouse.Y) - .(headPos.X, headPos.Y)).Magnitude
mouseDist < distance
distance = mouseDist
target = head
target
old; old = (, , (...)
method = ()
args = {...}
callingScript = ()
(method == ) ((callingScript) == (callingScript) == (callingScript) == (callingScript) == )
args[] = camera.CFrame.Position
args[] = (().Position - args[]).Unit *
((args))
)Script

Universal