100% found this document useful (1 vote)
3K views1 page

Kill Aura

The document describes a Roblox kill aura script that allows a user to enable and disable the aura using chat commands. It gets the user's username and chat enable/disable messages. It then continuously loops to check if nearby players who are not on the user's team are within a 30 unit radius, damaging them by 15 if so. The aura is toggled on/off via the chat commands.

Uploaded by

8qnmyq7j7n
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
3K views1 page

Kill Aura

The document describes a Roblox kill aura script that allows a user to enable and disable the aura using chat commands. It gets the user's username and chat enable/disable messages. It then continuously loops to check if nearby players who are not on the user's team are within a 30 unit radius, damaging them by 15 if so. The aura is toggled on/off via the chat commands.

Uploaded by

8qnmyq7j7n
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

local User = "BeefPIayZz" -- Your username between ""

local EnableMessage = "/e killaura on" -- The message to enable your kill aura
local DisableMessage = "/e killaura off" -- The message to disable your kill aura
local Radius = 30 -- When your kill aura activates

local Exploiter = nil


local Enabled = false

for _, Player in pairs(PlayerService.getPlayers()) do


if Player.name == User then
Exploiter = Player
end
end

task.spawn(function()
while task.wait() do
if (Enabled) then
for _, Player in pairs(PlayerService.getPlayers()) do
if Player.name ~= User then
local Entity = Player:getEntity()

if (Entity) and (Entity:isAlive()) then


local PlayerPosition = Entity:getPosition()
local ExploiterPosition =
Exploiter:getEntity():getPosition()

if (not ExploiterPosition) then


continue
end

if (PlayerPosition - ExploiterPosition).magnitude < Radius


then
local ExploiterTeam = TeamService.getTeam(Exploiter)
local PlayerTeam = TeamService.getTeam(Player)

if (ExploiterTeam ~= PlayerTeam) then


CombatService.damage(Entity, 15)
end
end
end
end
end
end
end
end)

Events.PlayerChatted(function(event)
local Player = event.player
local Message = event.message

if (Player.name == Exploiter.name) then


if (string.lower(Message) == string.lower(EnableMessage)) then
Enabled = true
elseif (string.lower(Message) == string.lower(DisableMessage)) then
Enabled = false
end
end
end)

You might also like