Thank you for using our website
Your script:
task.spawn(function()
repeat task.wait(1)
for i,v in pairs(getgc(true)) do
if type(v) == "table" and rawget(v,"weaponType") and v["weaponType"] == "Melee" then
rawset(v,"meleeCooldown",0)
rawset(v["Hitbox"],"Size",Vector3.new(10,10,10))
end
end
until Melee == false
end)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
function GetNpcs()
local npcs = {}
for i,v in pairs(workspace.NPCs:GetChildren()) do
if v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
table.insert(npcs,v)
end
end
return npcs
end
function Main()
gyro = Instance.new("BodyGyro")
gyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge);gyro.P = 10000;gyro.D = 500;gyro.Parent = Character.HumanoidRootPart
while true do
for i, v in pairs(GetNpcs()) do
local npcHumanoid = v:FindFirstChild("Humanoid")
if not npcHumanoid then continue end
local diedConnection = npcHumanoid.Died:Connect(function()
diedConnection:Disconnect()
end)
while npcHumanoid.Health > 0 do
Character:PivotTo(CFrame.new(v:FindFirstChild("HumanoidRootPart").Position-Vector3.new(0,8,0)) * CFrame.Angles(0, math.rad(-90), 0))
mouse1press()
task.wait()
mouse1release()
end
end
end
end
Player.CharacterAdded:Connect(function(newChar)
Main()
end)
Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack["M4 Bayonet"])
Main()





