
672 Views
4.1k Executions
Ai sword bot
Universal Script 📌
cj4910K executions
3 months 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
Ai open source sword bot, equip a tool that deals dmg for it to work, not tested on pc.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local FOLLOW_DISTANCE = 6
local ATTACK_DISTANCE = 10
local ATTACK_DELAY = 0.18
local JUMP_MIN = 0.7
local JUMP_MAX = 1.8
local character
local humanoid
local root
local equippedTool
local attacking = false
local nextJump = 0
local function setupCharacter(char)
character = char
humanoid = char:WaitForChild("Humanoid")
root = char:WaitForChild("HumanoidRootPart")
equippedTool = nil
end
if player.Character then
setupCharacter(player.Character)
end
player.CharacterAdded:Connect(setupCharacter)
local function isDamageTool(tool)
if not tool:IsA("Tool") then
return false
end
-- Look for common damage indicators
if tool:FindFirstChild("Handle") then
return true








the code is mid cutted