
6.9k Views
242 Executions
Sword fight bot universal modded by me
Universal Script 📌
kunaflik7First script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Press r t (this is not mine lol I made it better so I keep updating it)
_G.x = nil -- target, dont change e
print("h:loaded ( :")
Grips = {
Up = CFrame.new(1, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0),
Out = CFrame.new(1, 0, -1.70000005, 0, 1, 0, 1, -0, 0, 0, 0, -1)
}
_G.e = nil
_G.rage = 0
local h3 = 0
local h4 = true
local h = 3
local h2 = 0
_G.g = nil
_G.pos = nil
local jo = 0
local jo2 = 1
hhh = nil
local jo3 = 0
local player = game.Players.LocalPlayer
-- Modified find closest function
local function findClosestHumanoidRootPart()
local closestRootPart = nil
local closestDistance = math.huge
local localPlayerPosition = player.Character.HumanoidRootPart.Position
for _, part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") and part.Name == "HumanoidRootPart" and part.Parent ~= player.Character then
local humanoid = part.Parent:FindFirstChild("Humanoid")
if humanoid and humanoid.Health > 0 then
local distance = (part.Position - localPlayerPosition).Magnitude
if distance < closestDistance then
closestDistance = distance
closestRootPart = part.Parent
end
end
end
end
return closestRootPart









Oh yea zzz