
48.2k Views
4 Executions
crtl28 chaos
Universal Script 📌
hanniphamPublished 5
3 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
chaos killauracc
if shared.settings then return end
shared.settings = {
killaura = true,
maxdistance = 12,
debugging = true
}
local Players = game:GetService("Players")
local lp = Players.LocalPlayer or Players:GetPropertyChangedSignal("LocalPlayer"):Wait() or Players.LocalPlayer
local function getchar(plr,yield)
local plr = plr or lp
return plr.Character or yield and plr.CharacterAdded:Wait()
end
local function gethumanoid(plr,yield)
local plr = plr or lp
local char = getchar(plr,yield)
return yield and char:WaitForChild("Humanoid") or char:FindFirstChildWhichIsA("Humanoid")
end
local function getDamageRemote()
local char = getchar(nil,true)
local Tool = char:FindFirstChildWhichIsA("Tool")
local Remote = Tool and Tool:FindFirstChild("DamageRemote")
return Remote
end
local function GetClosestPlayer()
local dist = shared.settings.maxdistance or 1/0
local closest_player
for i,v in next, Players:GetPlayers() do
if v ~= lp then
local char = getchar(v)
if char and not char:FindFirstChildWhichIsA("ForceField") then
local BasePart = char:FindFirstChildWhichIsA("BasePart")
local Humanoid = gethumanoid(v)
local DistanceFromTarget = BasePart and lp:DistanceFromCharacter(BasePart.CFrame.Position)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







