Roblox Weaponcraft Script Modded Server Attack Aura

Roblox Weaponcraft Script Modded Server Attack Aura

Script By brianops1/brianops16

--Game:

--https://detourious.gitbook.io/project-finity/docs
if game:GetService("CoreGui"):FindFirstChild("FinityUI") then
game.CoreGui.FinityUI:Destroy()
end
local desc = [[

]]
local plr = game.Players.LocalPlayer
local Finity = loadstring(game:HttpGet("http://finity.vip/scripts/finity_lib.lua"))()
local FinityWindow = Finity.new(true)
FinityWindow.ChangeToggleKey(Enum.KeyCode.Semicolon)
local CreditsCategory = FinityWindow:Category("Credits/Info")
local CreditsCreator = CreditsCategory:Sector("Finity Library Creator:")
local ScriptCredit = CreditsCategory:Sector("Cheat Credit:")
local Description = CreditsCategory:Sector("Description:")
local OC = CreditsCategory:Sector("Open Close Button:")
CreditsCreator:Cheat("Label", "detourious @ v3rmillion.net")
ScriptCredit:Cheat("Label", "brianops16 @ v3rmillion.net")
Description:Cheat("Label", desc)
local Cheats = FinityWindow:Category("Cheats")
local S1 = Cheats:Sector("Main Cheats")
local EnumKeys = {'Semicolon','Tab','Equals','Comma','Minus','Period','F1',"F2","F3","F4",'F5',"F6","F7",
"F8","F9","F10","F11","F12",'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H',
'J', 'K', 'L', 'Z', 'X', 'C', 'V', 'B', 'N', 'M','Slash','One','Two','Three',"Four","Five","Six","Seven","Eight",
"Nine","Zero",'BackSlash','RightBracket','LeftBracket'}
OC:Cheat("Dropdown", "(Default ';')", function(Option) --Dropdowns
 print('Current key: '..Option)
FinityWindow.ChangeToggleKey(Enum.KeyCode[Option])
end, {
options = EnumKeys
})


local Trapped = {}
local Dist = 20
local Percent = 50
local BigT = 0

function attack(enemy)
local T = plr.Character:FindFirstChildOfClass("Tool")
if T then
local S = T:FindFirstChild("[Server]Sword") or T:FindFirstChild("[Server]Axe") or T:FindFirstChild("[Server]Spear") or T:FindFirstChild("[Server]Scythe")
if S then
local Hit = S.Hit
Hit:FireServer(
enemy
)
end
end
end

S1:Cheat("Slider", "Wait time / hack speed", function(Value)--Slider
BigT = tonumber(Value)
end, {min = 0, max = 1, suffix = " Sec"})

S1:Cheat("Textbox", "Attack Distance (def 20)", function(Value) --Textbox
if not pcall(function() Dist = tonumber(Value) end) then
Value = 20
end
end, {
placeholder = "20"
})

S1:Cheat("Checkbox","Attack Aura",
function(State)
if not State then
_G.on = 0
else
_G.on = 1
while _G.on == 1 do
if BigT == 0 then
game:GetService('RunService').Stepped:wait()
else
wait(BigT)
end
local g,b = pcall(function()
for i,v in pairs(game:GetService("Workspace")["Entity"]:GetChildren()) do
local p = v:FindFirstChild("HumanoidRootPart")
local r = plr.Character:FindFirstChild("HumanoidRootPart")
if (p.Position - r.Position).Magnitude < Dist and v:FindFirstChild("Humanoid").Health > 0 then
attack(p.Parent)
end
end
end)
if b then print(b) end
end
end
end
)

S1:Cheat("Button", "Hit enemies once", function() --Button
local g,b = pcall(function()
for i,v in pairs(game:GetService("Workspace")["Entity"]:GetChildren()) do
local p = v:FindFirstChild("HumanoidRootPart")
local r = plr.Character:FindFirstChild("HumanoidRootPart")
if (p.Position - r.Position).Magnitude < Dist and v:FindFirstChild("Humanoid").Health > 0 then
attack(p.Parent)
end
end
end)
if b then print(b) end
end)

S1:Cheat("Checkbox","ModdedServer (insta kills when hit)",
function(State)
if not State then
_G.on1 = 0
else
_G.on1 = 1
while _G.on1 == 1 do
if BigT == 0 then
game:GetService('RunService').Stepped:wait()
else
wait(BigT)
end
local g,b = pcall(function()
for i,v in pairs(game:GetService("Workspace")["Entity"]:GetChildren()) do
local p = v:FindFirstChild("HumanoidRootPart")
if p and v:FindFirstChild("Humanoid") then
if v:FindFirstChild("Humanoid").Health > 0 and not Trapped[v] then
Trapped[v] = v:FindFirstChild("Humanoid").Health
elseif v:FindFirstChild("Humanoid").Health > 0 and Trapped[v] > v:FindFirstChild("Humanoid").Health then
attack(p.Parent)
elseif v:FindFirstChild("Humanoid").Health <= 0 and Trapped[v] then
Trapped[v] = nil
end
end
end
end)
if b then print(b) end
end
Trapped  = {}
end
end
)

S1:Cheat("Slider", "Percent to drop to", function(Value)--Slider
Percent = tonumber(Value)
end, {min = 1, max = 100, suffix = " %"})

S1:Cheat("Checkbox","ModdedServer (Drops down percentage)",
function(State)
if not State then
_G.on2 = 0
else
_G.on2 = 1
while _G.on2 == 1 do
if BigT == 0 then
game:GetService('RunService').Stepped:wait()
else
wait(BigT)
end
local g,b = pcall(function()
for i,v in pairs(game:GetService("Workspace")["Entity"]:GetChildren()) do
local p = v:FindFirstChild("HumanoidRootPart")
if p and v:FindFirstChild("Humanoid") then
max = math.ceil(((v:FindFirstChild("Humanoid").MaxHealth * Percent) / 100))
if v:FindFirstChild("Humanoid").Health > max and not Trapped[v] then
Trapped[v] = v:FindFirstChild("Humanoid").Health
elseif v:FindFirstChild("Humanoid").Health > max and Trapped[v] > v:FindFirstChild("Humanoid").Health then
attack(p.Parent)
elseif v:FindFirstChild("Humanoid").Health <= 0 and Trapped[v] then
Trapped[v] = nil
end
end
end
end)
if b then print(b) end
end
Trapped  = {}
end
end
)
%d bloggers like this: