What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

Slasher Blade Loot [Kill Aura]

Version / Update: v1.0.0
Download / Script Link
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")

local player = Players.LocalPlayer
local killAuraEnabled = false


local screenGui = Instance.new("ScreenGui")
local frame = Instance.new("Frame")
local button = Instance.new("TextButton")

screenGui.Parent = player.PlayerGui
frame.Size = UDim2.new(0, 100, 0, 50)
frame.Position = UDim2.new(0, 10, 0, 10)
frame.BackgroundColor3 = Color3.new(0, 0, 0)
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui

button.Size = UDim2.new(1, 0, 1, 0)
button.BackgroundTransparency = 1
button.Text = "Aura: OFF"
button.TextColor3 = Color3.new(1, 1, 1)
button.Parent = frame

local function killAura()
local mobModel = Workspace.Live.MobModel
local playerPos = player.Character.HumanoidRootPart.Position
local nearestMob = nil
local nearestDistance = math.huge

for _, mob in pairs(mobModel:GetChildren()) do
if mob:FindFirstChild("Humanoid") and mob:FindFirstChild("HumanoidRootPart") then
local distance = (mob.HumanoidRootPart.Position - playerPos).Magnitude
if distance < 50 and distance < nearestDistance then
nearestDistance = distance
nearestMob = mob
end
end
end

if nearestMob then
local args = {{nearestMob.Name}}
ReplicatedStorage.Remote.Event.Combat.M1:FireServer(unpack(args))
end
end

local function toggleKillAura()
killAuraEnabled = not killAuraEnabled
button.Text = "Aura: " .. (killAuraEnabled and "ON" or "OFF")

if killAuraEnabled then
spawn(function()
while killAuraEnabled do
killAura()
wait(0.05)
end
end)
end
end

local function onKeyPress(key)
if key.KeyCode == Enum.KeyCode.F then
toggleKillAura()
end
end

button.MouseButton1Click:Connect(toggleKillAura)
UserInputService.InputBegan:Connect(onKeyPress)
[ View More ]
3624a6d9-8787-4e2a-8cb6-a37e3c4d3f09.webp


Kill aura (all mobs near you 50 studs can be modified in script)Binds:Toggle Kill Aura PC: FMobile: There is a button on your screen
 
Works on mobile
  1. Yes
Back
Top