Kill Aura
Legend of Zominus RPG script: Kill Aura
Kill Aura
Place hub
Legend of Zominus RPG
1 scripts · 311 views
→
Kill Aura
Place hub
Legend of Zominus RPG
1 scripts · 311 views
→
Kill Aura
1 listed functions
Review the code before running it. Use scripts responsibly and only with tools you trust.
local Workspace = game:GetService("Workspace")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local DamageRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("DealDamage")
local MobFolders = {
Workspace:WaitForChild("Mobs"):WaitForChild("Regular"),
Workspace:WaitForChild("Mobs"):WaitForChild("MegaBoss"),
}
local RANGE = 35
task.spawn(function()
while task.wait(0.01) do
local root = Character:FindFirstChild("HumanoidRootPart")
for _, folder in ipairs(MobFolders) do
for _, obj in ipairs(folder:GetChildren()) do
local MobRoot = obj:FindFirstChild("HumanoidRootPart")
if obj:IsA("Model") and obj.Parent and MobRoot then
if (MobRoot.Position - root.Position).Magnitude <= RANGE then
DamageRemote:FireServer(obj)
end
end
end
end
end
end)This script is currently marked as NO KEY.
Kill Aura
Copy the Lua code from the Script Code section and review it before running it in your preferred Roblox script executor.
Comments
0No comments yet.
You need to register or log in before liking scripts or posting comments.