local tool = Instance.new("Tool",owner.Backpack)
tool.Name = "denali"
tool.ToolTip = "denali in a box"
local han = Instance.new("Part",tool)
han.Name = "Handle"
han.Size = Vector3.new(7.5,5,1)
han.Material = Enum.Material.Glass
local SurfaceGui0 = Instance.new("SurfaceGui")
local Frame1 = Instance.new("Frame")
local layerName = Instance.new("TextLabel")
local methodName = Instance.new("TextLabel")
SurfaceGui0.Parent = han
SurfaceGui0.LightInfluence = 1
SurfaceGui0.ClipsDescendants = true
SurfaceGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
SurfaceGui0.MaxDistance = 1000
Frame1.Parent = SurfaceGui0
Frame1.Size = UDim2.new(1, 0, 1, 0)
Frame1.BackgroundColor = BrickColor.new("Really black")
Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
Frame1.BorderColor = BrickColor.new("Really black")
Frame1.BorderColor3 = Color3.new(0, 0, 0)
Frame1.BorderSizePixel = 0
Frame1.Style = Enum.FrameStyle.DropShadow
layerName.Name = "TextLabel1"
layerName.Parent = Frame1
layerName.Position = UDim2.new(0.5, 0, 0.5, 0)
layerName.Size = UDim2.new(1, 0, 0, 50)
layerName.AnchorPoint = Vector2.new(0.5, 0.5)
layerName.BackgroundColor = BrickColor.new("Institutional white")
layerName.BackgroundColor3 = Color3.new(1, 1, 1)
layerName.BackgroundTransparency = 1
layerName.BorderColor = BrickColor.new("Really black")
layerName.BorderColor3 = Color3.new(0, 0, 0)
layerName.BorderSizePixel = 0
layerName.Font = Enum.Font.Ubuntu
layerName.FontSize = Enum.FontSize.Size24
layerName.Text = "name"
layerName.TextColor = BrickColor.new("Institutional white")
layerName.TextColor3 = Color3.new(1, 1, 1)
layerName.TextScaled = true
layerName.TextSize = 24
layerName.TextStrokeTransparency = 0.5
layerName.TextWrap = true
layerName.TextWrapped = true
methodName.Parent = Frame1
methodName.Position = UDim2.new(0.5, 0, 0.600000024, 0)
methodName.Size = UDim2.new(1, 0, 0, 30)
methodName.AnchorPoint = Vector2.new(0.5, 0.5)
methodName.BackgroundColor = BrickColor.new("Institutional white")
methodName.BackgroundColor3 = Color3.new(1, 1, 1)
methodName.BackgroundTransparency = 1
methodName.BorderColor = BrickColor.new("Really black")
methodName.BorderColor3 = Color3.new(0, 0, 0)
methodName.BorderSizePixel = 0
methodName.Font = Enum.Font.Ubuntu
methodName.FontSize = Enum.FontSize.Size24
methodName.Text = "methods"
methodName.TextColor = BrickColor.new("Institutional white")
methodName.TextColor3 = Color3.new(1, 1, 1)
methodName.TextScaled = true
methodName.TextSize = 24
methodName.TextStrokeTransparency = 0.5
methodName.TextWrap = true
methodName.TextWrapped = true
local running = true
local overlap = OverlapParams.new()
overlap.FilterType = Enum.RaycastFilterType.Exclude
overlap.FilterDescendantsInstances = {han,owner.Character}
overlap.RespectCanCollide = false
overlap.BruteForceAllSlow = true
local function Hypernull(func, ...)
if (coroutine.status(task.spawn(Hypernull, func, ...)) == "dead") then return end
return func(...)
end
local function Supernull(func,...)
pcall(unpack(table.create(80, task.defer)),func,...)
end
local kills = {
{
Name = "Destroy";
Methods = "Standard";
Function = function(part)
pcall(game.Destroy,part)
end
};
{
Name = "Void";
Methods = "Standard";
Function = function(part)
pcall(function()
part.CFrame = CFrame.new(-9e9,-9e9,-9e9)
end)
end
};
{
Name = "Transparency Manipulation";
Methods = "Standard";
Function = function(part)
pcall(function()
part.Transparency = 1
end)
end
};
{
Name = "Destroy";
Methods = "Supernull, Hypernull";
Function = function(part)
Supernull(game.Destroy,part)
end
};
{
Name = "Void";
Methods = "Supernull, Hypernull";
Function = function(part)
Supernull(function()
part.CFrame = CFrame.new(-9e9,-9e9,-9e9)
end)
end
};
{
Name = "Transparency Manipulation";
Methods = "Supernull, Hypernull";
Function = function(part)
Supernull(function()
part.Transparency = 1
end)
end
};
{
Name = "Derender";
Methods = "Standard";
Function = function(part)
pcall(function()
local vpf = workspace:FindFirstChildOfClass("ViewportFrame") or Instance.new("ViewportFrame",workspace)
local oldparent = part.Parent
part.Parent = vpf
part.Parent = oldparent
vpf:Remove()
end)
end
};
{
Name = "Derender";
Methods = "Hypernull";
Function = function(part)
pcall(Hypernull,function()
local vpf = workspace:FindFirstChildOfClass("ViewportFrame") or Instance.new("ViewportFrame",workspace)
local oldparent = part.Parent
part.Parent = vpf
part.Parent = oldparent
vpf:Remove()
end)
end
};
}
local killnum = 1
layerName.Text = kills[killnum].Name
methodName.Text = kills[killnum].Methods
local function doCurrentKill(part)
if kills[killnum] then
kills[killnum].Function(part)
end
end
local function kill()
local parts = workspace:GetPartBoundsInBox(han.CFrame,han.Size,overlap)
for i,v in parts do
doCurrentKill(v)
end
end
tool.Activated:Connect(function()
local toolanim = Instance.new("StringValue",tool)
toolanim.Name = "toolanim"
toolanim.Value = "Slash"
killnum = (kills[killnum+1] and killnum+1 or 1)
layerName.Text = kills[killnum].Name
methodName.Text = kills[killnum].Methods
print(killnum)
end)
game:GetService("RunService").PostSimulation:Connect(function()
if running then
kill()
end
end)