Professional Documents
Culture Documents
Roblox Sword Reach Script
Roblox Sword Reach Script
Circle = {
["Size"] = 10,
["Enabled"] = true,
["Random FTI"] = false,
["Whitelisted Limbs"] = {"Left Arm","Right Arm","Left Leg","Right
Leg","Head","Torso","HumanoidRootPart"}
}
getgenv().Configuration = {
["Active"] = true,
["Increase Size"] = 0.25,
["Decrease Size"] = 0.25,
["Notifications"] = true,
["Auto Clicker"] = false,
["Transparency Check"] = false,
["Team Check"] = false,
["Fake Handle FTI"] = false -- if true, will only trigger if a fake handle is
present (use for advanced antis)
}
getgenv().Keybinds = {
["Toggle Reach"] = "R",
["Toggle AC"] = "E",
["Increase Reach"] = "J",
["Decrease Reach"] = "K",
["Toggle Script"] = "Z",
["Notifications Toggle"] = "N",
["Fake Handle FTI Toggle"] = "F"
}
Mouse.KeyDown:Connect(function(key)
if key == string.lower(getgenv().Keybinds["Toggle Reach"]) then
if getgenv().Configuration["Active"] == false then return end
getgenv().Circle["Enabled"] = not getgenv().Circle["Enabled"]
if getgenv().Configuration["Notifications"] == true then
SendNotification("Xen-Zone","Reach =
"..tostring(getgenv().Circle["Enabled"]))
end
elseif key == string.lower(getgenv().Keybinds["Toggle AC"]) then
if getgenv().Configuration["Active"] == false then return end
getgenv().Configuration["Auto Clicker"] = not getgenv().Configuration["Auto
Clicker"]
if getgenv().Configuration["Notifications"] == true then
SendNotification("Xen-Zone","AutoClicker =
"..tostring(getgenv().Configuration["Auto Clicker"]))
end
elseif key == string.lower(getgenv().Keybinds["Fake Handle FTI Toggle"]) then
if getgenv().Configuration["Active"] == false then return end
getgenv().Configuration["Fake Handle FTI"] = not
getgenv().Configuration["Fake Handle FTI"]
if getgenv().Configuration["Notifications"] == true then
SendNotification("Xen-Zone","Fake Handle FTI =
"..tostring(getgenv().Configuration["Fake Handle FTI"]))
end
elseif key == string.lower(getgenv().Keybinds["Increase Reach"]) then
if getgenv().Configuration["Active"] == false then return end
getgenv().Circle["Size"] = getgenv().Circle["Size"] +
getgenv().Configuration["Increase Size"]
if getgenv().Configuration["Notifications"] == true then
SendNotification("Xen-Zone","Size = "..getgenv().Circle["Size"])
end
elseif key == string.lower(getgenv().Keybinds["Decrease Reach"]) then
if getgenv().Configuration["Active"] == false then return end
getgenv().Circle["Size"] = getgenv().Circle["Size"] -
getgenv().Configuration["Decrease Size"]
if getgenv().Configuration["Notifications"] == true then
SendNotification("Xen-Zone","Size = "..getgenv().Circle["Size"])
end
elseif key == string.lower(getgenv().Keybinds["Notifications Toggle"]) then
getgenv().Configuration["Notifications"] = not
getgenv().Configuration["Notifications"]
SendNotification("Xen-Zone","Notifications =
"..tostring(getgenv().Configuration["Notifications"]))
elseif key == string.lower(getgenv().Keybinds["Toggle Script"]) then
getgenv().Configuration["Active"] = not getgenv().Configuration["Active"]
if getgenv().Configuration["Notifications"] == true then
SendNotification("Xen-Zone","Script =
"..tostring(getgenv().Configuration["Active"]))
end
end
end)
local HPHook;
local HitParts = {}
local t = tick()
game:GetService("RunService").RenderStepped:Connect(function()
if getgenv().Configuration["Active"] == false then return end
if getgenv().Circle["Enabled"] == false then return end
local Tool = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildOfClass("Tool")
if Tool then
if getgenv().Configuration["Auto Clicker"] and
LocalPlayer.Character.Humanoid.Health ~= 0 then Tool:Activate() Tool:Activate() end
local Handle = Tool:FindFirstChild("Handle")
if Handle then
local Size = getgenv().Circle["Size"]
if getgenv().Configuration["Team Check"] == true then
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if IsTeam(v) == false then
local HRP = v.Character and
v.Character:FindFirstChild("HumanoidRootPart")
if HRP then
local Distance = (HRP.Position -
Handle.Position).Magnitude
if Distance <= Size then
FTI(HRP,Handle)
end
end
end
end
else
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
local HRP = v.Character and
v.Character:FindFirstChild("HumanoidRootPart")
if HRP then
local Distance = (HRP.Position -
Handle.Position).Magnitude
if Distance <= Size then
FTI(HRP,Handle)
end
end
end
end
end
end
end)