-- Simple GUI
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local KillAuraBtn = Instance.new("TextButton")
local FlyBtn = Instance.new("TextButton")
local HitboxBtn = Instance.new("TextButton")
-- GUI properties
ScreenGui.Parent = game.CoreGui
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
Frame.Position = UDim2.new(0, 50, 0, 50)
Frame.Size = UDim2.new(0, 200, 0, 150)
Frame.Active = true
Frame.Draggable = true
local function createButton(name, text, positionY)
local button = Instance.new("TextButton")
button.Name = name
button.Parent = Frame
button.Text = text
button.Size = UDim2.new(0, 180, 0, 40)
button.Position = UDim2.new(0, 10, 0, positionY)
button.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
button.TextColor3 = Color3.new(1, 1, 1)
return button
end
KillAuraBtn = createButton("KillAuraBtn", "Kill Aura", 10)
FlyBtn = createButton("FlyBtn", "Toggle Fly", 60)
HitboxBtn = createButton("HitboxBtn", "Expand Hitboxes", 110)
-- Kill Aura
local killAuraActive = false
KillAuraBtn.MouseButton1Click:Connect(function()
killAuraActive = not killAuraActive
KillAuraBtn.Text = killAuraActive and "Kill Aura [ON]" or "Kill Aura [OFF]"
while killAuraActive do
task.wait(0.5)
for _, player in pairs(game.Players:GetPlayers()) do
if player ~= game.Players.LocalPlayer and player.Character and
player.Character:FindFirstChild("HumanoidRootPart") then
local dist = (player.Character.HumanoidRootPart.Position -
game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
if dist < 15 then -- aura range
game:GetService("ReplicatedStorage"):FindFirstChild("Remotes").Attack:FireServer(pl
ayer.Character) -- this line depends on game
end
end
end
end
end)
-- Fly
local flying = false
local UIS = game:GetService("UserInputService")
local FlySpeed = 50
FlyBtn.MouseButton1Click:Connect(function()
flying = not flying
FlyBtn.Text = flying and "Fly [ON]" or "Fly [OFF]"
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local humanoidRootPart = char:WaitForChild("HumanoidRootPart")
local bodyGyro = Instance.new("BodyGyro", humanoidRootPart)
local bodyVelocity = Instance.new("BodyVelocity", humanoidRootPart)
bodyGyro.P = 9e4
bodyGyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
bodyVelocity.velocity = Vector3.zero
bodyVelocity.maxForce = Vector3.new(9e9, 9e9, 9e9)
while flying do
task.wait()
bodyGyro.CFrame = workspace.CurrentCamera.CFrame
local direction = Vector3.zero
if UIS:IsKeyDown(Enum.KeyCode.W) then direction +=
workspace.CurrentCamera.CFrame.LookVector end
if UIS:IsKeyDown(Enum.KeyCode.S) then direction -=
workspace.CurrentCamera.CFrame.LookVector end
if UIS:IsKeyDown(Enum.KeyCode.A) then direction -=
workspace.CurrentCamera.CFrame.RightVector end
if UIS:IsKeyDown(Enum.KeyCode.D) then direction +=
workspace.CurrentCamera.CFrame.RightVector end
if UIS:IsKeyDown(Enum.KeyCode.Space) then direction +=
workspace.CurrentCamera.CFrame.UpVector end
if UIS:IsKeyDown(Enum.KeyCode.LeftShift) then direction -=
workspace.CurrentCamera.CFrame.UpVector end
bodyVelocity.Velocity = direction.Unit * FlySpeed
end
bodyGyro:Destroy()
bodyVelocity:Destroy()
end)
-- Hitbox Expander
local hitboxEnabled = false
HitboxBtn.MouseButton1Click:Connect(function()
hitboxEnabled = not hitboxEnabled
HitboxBtn.Text = hitboxEnabled and "Hitboxes [ON]" or "Hitboxes [OFF]"
for _, player in pairs(game.Players:GetPlayers()) do
if player ~= game.Players.LocalPlayer and player.Character and
player.Character:FindFirstChild("HumanoidRootPart") then
local hrp = player.Character.HumanoidRootPart
if hitboxEnabled then
hrp.Size = Vector3.new(15, 15, 15)
hrp.Transparency = 0.5
hrp.Material = Enum.Material.Neon
hrp.CanCollide = false
else
hrp.Size = Vector3.new(2, 2, 1)
hrp.Transparency = 1
hrp.Material = Enum.Material.Plastic
end
end
end
end)