Run it
Copy the script and paste it into your executor.
local Keybind = Enum.KeyCode.X --// Toggle Keybind
local function mouseclosest() --// Gets the closest player to your mouse
local closestplr = nil
local closestdist = math.huge
for _, player in ipairs(game:GetService("Players"):GetPlayers()) do
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local playerRoot = player.Character.HumanoidRootPart
local distance = (playerRoot.Position - game:GetService("Players").LocalPlayer:GetMouse().Hit.p).Magnitude
distance < closestdist player ~= :().LocalPlayer
closestdist = distance
closestplr = player
closestplr
:().InputBegan:((input)
input.KeyCode == Keybind
teleporting
teleporting =
currentPlayer =
teleporting =
currentPlayer = ()
)
:().RenderStepped:(()
teleporting currentPlayer
currentPlayer.Character currentPlayer.Character:()
currentPlayer.Character.HumanoidRootPart.CFrame = :().LocalPlayer.Character.HumanoidRootPart.CFrame * .(, , -)
)
Universal