MADE BY RandomHaxer2
FEATURE:
- KILL AURA
- .
- DEV NOTE:
- RUN IT IN THE MENU
GAME LINK:
MELEE MADNESS
SCRIPT:
local playerservice = game:GetService("Players")
local lp = playerservice.LocalPlayer
function findhandle(tool)
for i,v in pairs(tool:GetChildren()) do
if string.match(tostring(v),"Handle") then
return v
end
end
return tool:FindFirstChildWhichIsA("BasePart")
end
function fakecast(player)
spawn(function()
pcall(function()
local tool = lp.Character:FindFirstChildWhichIsA("Tool")
local handle = findhandle(tool)
local params = RaycastParams.new({
FilterType = Enum.RaycastFilterType.Whitelist,
FilterDescendantsInstances = {player.Character:GetChildren()}
})
--local tempcast = workspace:Raycast(handle.Position,(handle.Position - player.Character.HumanoidRootPart.Position),params)
--if tempcast.Distance < 8 then
if (handle.Position - player.Character.HumanoidRootPart.Position).Magnitude < 9 then
tool.Hit:FireServer({player.Character.HumanoidRootPart,player.Character,player.Character.Humanoid,player.Character.Head.Position - Vector3.new(math.random(0.5000000000,0.1),math.random(0.5000000000,0.1),math.random(0.5000000000,0.1)),Vector3.new(math.random(0.5000000000,0.1),math.random(0.5000000000,0.1),math.random(0.5000000000,0.1)),handle.CFrame})
end
end)
end)
end
function startaura()
task.wait()
spawn(function()
while task.wait(0.5) do
pcall(function()
local tool = lp.Character:FindFirstChildWhichIsA("Tool")
if tool then
rconsoleinfo("Looping")
tool.Start:FireServer("Swing",1)
for i,v in pairs(playerservice:GetPlayers()) do
fakecast(v)
end
end
end)
end
end)
end
lp.CharacterAdded:Connect(startaura)