0% found this document useful (0 votes)
2K views3 pages

Roblox Kill Aura UI Library Script

This Lua script loads a UI library and creates a combat menu with toggles for kill aura, god mode, and removing cooldowns in an online game. It also adds toggles for one-shot kills and preventing void damage. The script hooks into the game's damage function to implement these combat modifications when the corresponding toggles are enabled.
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
0% found this document useful (0 votes)
2K views3 pages

Roblox Kill Aura UI Library Script

This Lua script loads a UI library and creates a combat menu with toggles for kill aura, god mode, and removing cooldowns in an online game. It also adds toggles for one-shot kills and preventing void damage. The script hooks into the game's damage function to implement these combat modifications when the corresponding toggles are enabled.
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
  • Script Initialization and Imports: Initializes the script, defines variables and imports libraries necessary for execution of the code.
  • Main Script Functions: Contains definitions of primary functionalities and loops including God Mode and Cooldown toggle scripts.
  • Execution and Finalization: Finalizes with additional function closures and initialization calls to ensure script execution.

--[[

made by the one and only sexy beast named icee :troll:
ps: cyclops is in the kitchen :lol:
]]

-- Var
local Player = game:GetService("Players").LocalPlayer;
local ReplicatedStorage = game:GetService("ReplicatedStorage");
local PlayerGui = Player.PlayerGui;
local setupvalue = setupvalue or debug.setupvalue;

-- UILib
local Library =
loadstring(game:HttpGet("https://raw.githubusercontent.com/ICEEDev/Utilites/main/ui
lib.lua"))();
local MainWindow = Library:CreateWindow("Main");
local CombatFolder = MainWindow:AddFolder("Combat");
local KillAuraTog, GodModeTog, NocoolTog; -- ik aids but this ui lib bad so /shrug

-- Kill Aura
do
-- Creation
CombatFolder:AddToggle({
text = "KillAura";
flag = nil;
state = false;
callback = function(state)
KillAuraTog = state;

while KillAuraTog do
for i,v in next, game:GetService("Players"):GetPlayers() do
if (v ~= Player and Player.Character and
Player.Character:FindFirstChild("HumanoidRootPart") and v.Character and
v.Character:FindFirstChild("HumanoidRootPart") and
(v.Character.HumanoidRootPart.Position -
Player.Character.HumanoidRootPart.Position).magnitude <= 50 and
PlayerGui:FindFirstChild("ClassGui") and getsenv(PlayerGui.ClassGui.Main).pass)
then

ReplicatedStorage.Remotes.Damage:InvokeServer(getsenv(PlayerGui.ClassGui.Main).pass
(), Workspace.RealTime.Value, v.Character, 200);
end;
end;
wait();
end;
end;
});
end;

-- God Mode
do
-- Creation
CombatFolder:AddToggle({
text = "GodMode";
flag = nil;
state = false;
callback = function(state)
GodModeTog = state;
while GodModeTog do
if (Player.Character and PlayerGui:FindFirstChild("ClassGui") and
getsenv(PlayerGui.ClassGui.Main).pass) then

ReplicatedStorage.Remotes.Heal:InvokeServer(getsenv(PlayerGui.ClassGui.Main).pass()
, Player.Character, 200, "True");
end;
wait();
end;
end;
});
end;

-- No Cooldown
do
-- Creation
CombatFolder:AddToggle({
text = "NoCooldown";
flag = nil;
state = false;
callback = function(state)
NocoolTog = state;

while NocoolTog do
if (Player.Character and PlayerGui:FindFirstChild("ClassGui") and
getsenv(PlayerGui.ClassGui.Main).pass) then
local ScriptEnv = getsenv(PlayerGui.ClassGui.Main);

setupvalue(ScriptEnv.criticalcoolingdown, 2, 0);
setupvalue(ScriptEnv.ability1coolingdown, 2, 0);
setupvalue(ScriptEnv.ability2coolingdown, 2, 0);
setupvalue(ScriptEnv.attackcoolingdown, 2, 0);
end;
wait();
end;
end;
});
end;

-- UI Creations
do
-- OneShot Kill
CombatFolder:AddToggle({
text = "OneShot";
flag = "OneShot";
state = false;
});

-- NoVoid Dmg
CombatFolder:AddToggle({
text = "NoVoidDamage";
flag = "NoVoid";
state = false;
});
end;

-- Hook
do
-- Creation
local meta = debug.getmetatable(game);
local oldName = meta.__namecall;
setreadonly(meta, false);

meta.__namecall = newcclosure(function(self, ...)


local args = {...};

if (Library.flags.OneShot and tostring(self) == "Damage" and args[4] ~=


"Void") then
args[4] = 200;
elseif (Library.flags.NoVoid and tostring(self) == "Damage" and args[4] ==
"Void") then
return; -- kicks when enabled off ( idc tho )
end;

return oldName(self, unpack(args));


end);

setreadonly(meta, true);
end;

-- Inits Lib
Library:Init();

--[[
    made by the one and only sexy beast named icee :troll:
    ps: cyclops is in the kitchen :lol:
]]
-- Var
local Playe
while GodModeTog do
                if (Player.Character and PlayerGui:FindFirstChild("ClassGui") and 
getsenv(Pl
local meta      = debug.getmetatable(game);
    local oldName   = meta.__namecall;
    setreadonly(meta, false);
    meta

You might also like