Run it
Copy the script and paste it into your executor.
--[[
Auto Attack (Killaura)
Kills the closest player towards you
-- [ stav.lua ] --
]]
shared.Aura = true
local cloneref = cloneref or function(obj)
return obj
end
local playersService = cloneref(game:GetService('Players'))
local replicatedStorage = cloneref(game:GetService('ReplicatedStorage'))
local lplr = playersService.LocalPlayer
local function getClosestPlayer()
local closestdist, closestplr = math.huge, nil
for i,v in playersService:GetPlayers() do
if v == lplr then continue end
pcall(function()
local dist = lplr:DistanceFromCharacter(v.Character.PrimaryPart.Position)
if dist < 6 and dist < closestdist
closestdist = dist
closestplr = v
)
closestplr
.(()
plr = ()
plr
replicatedStorage.meleeEvent:(plr)
.()
.Aura
)Automatically attacks players around you within six studs

Universal