Created by ErrorNullTag
You can use this script to teleport behind enemies making it easier to kill them. I highly suggest you walk side to side when teleporting otherwise you seem to die pretty quick.
- TELEPORT BEHIND ENEMY
- LOAD ESP
local Finity = loadstring(game:HttpGet("https://raw.githubusercontent.com/LocalSmail/Finity/main/Library"))()
local FinityWindow = Finity.new("Saber Showdown Raging", true, false, "", false, "Welcome Back To Phantom Scripting.")
local CurrentModules = FinityWindow:Category("Current Modules")
local Modules = CurrentModules:Sector("Functions")
Modules:Cheat("button", "Teleport Behind Enemy", function()
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer
local function getNearestPlayer()
local nearestPlayer
local shortestDistance = math.huge
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local distance = (LocalPlayer.Character.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).Magnitude
if distance < shortestDistance then
shortestDistance = distance
nearestPlayer = player
end
end
end
return nearestPlayer
end
local function teleportBehindPlayer(player)
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local targetPosition = player.Character.HumanoidRootPart.Position
local targetCFrame = player.Character.HumanoidRootPart.CFrame
local behindPosition = targetCFrame - targetCFrame.LookVector * 3
LocalPlayer.Character:SetPrimaryPartCFrame(behindPosition)
end
end
UserInputService.InputBegan:Connect(function(input, isProcessed)
if isProcessed then return end
if input.UserInputType == Enum.UserInputType.MouseButton1 then
local nearestPlayer = getNearestPlayer()
if nearestPlayer then
teleportBehindPlayer(nearestPlayer)
end
end
end)
--Written by errornulltag, idk why, rage hacking go Brrrr
end)
Modules:Cheat("Button", "Load ESP", function()
pcall(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/ic3w0lf22/Unnamed-ESP/master/UnnamedESP.lua'))() end)
end)