Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, stackoverflow.com.
-- I use "Any" as the selection for attacking any mob
local
"Any"
-- Constants (figuratively; if these change, we're fucked.)
local
workspace
WaitForChild
"Mobs"
3
-- Oooo second argument in WaitForChild, what could it mean??
local
game
GetService
"Players"
local
WaitForChild
"PlayerGui"
3
-- Janky ui shit because this jackass doesn't know what ResetOnSpawn is.
local
WaitForChild
"UI"
3
local
and
WaitForChild
"CS"
3
Connect
function
if
"UI"
then
WaitForChild
"CS"
3
end
end
-- Stats (for rebirth, and level min.)
local
WaitForChild
"leaderstats"
3
local
and
WaitForChild
"Lvl"
3
local
WaitForChild
"StatPoints"
3
for
in
next
GetChildren
do
-- The game doesn't store the mobs in a place where we can read it, so we need to wait for the fuckers to spawn before we know they exist.
local
nil
if
find
"%["
then
-- THANKS REGEX I LOVE USING %
"["
split
"["
2
-- Yeah I'm terrible at regex, how can you tell?
end
if
not
table
find
then
table
insert
end
if
and
not
table
find
then
table
insert
end
end
local
Instance
new
"Part"
-- Fuck you roblox.
game
GetService
"HttpService"
GenerateGUID
false
-- No detecty pwease :pleading:
Vector3
new
5
1
5
-- This platform only exists to prevent dying in the void
true
-- We don't want our floor collapsing beneath our feet, do we?
0.5
workspace
-- UI Setup
local
addPage
"Automation"
local
addPage
"Visuals"
local
addSection
"UI"
-- Automation
local
addSection
"Killaura"
local
addSection
"Targets"
local
addSection
"Upgrades"
addToggle
"Enabled"
false
function
while
game
Wait
and
do
-- Better than putting this loop outside this function mmm yes.
local
or
Wait
-- Better than declaring it as a variable outside of this loop and updating it whenever the player spawns.
local
FindFirstChildOfClass
"Tool"
WaitForChild
"SwordDamage"
3
if
not
and
then
-- If you use pcall instead of this, you're schizophrenic.
continue
-- Return breaks the loop because god hates me.
end
if
then
GetPivot
CFrame
new
0
2.75
0
-- Low enough to push us upwards and counter gravity.
for
in
next
GetChildren
do
if
IsA
"BasePart"
then
-- I love r15 parts being MESHPARTS I love it so much.
false
-- Thanks for removing that one humanoid state, roblox.
end
end
else
CFrame
new
-- Don't want the platform to get in our way uwu
end
for
in
next
GetChildren
do
if
IsA
"Model"
then
local
FindFirstChildOfClass
"Humanoid"
GetPivot
-- PrimaryPart.CFrame sucks, fuck you.
local
FindFirstChild
"Settings"
-- Lets not use waitforchild in a loop that goes through every mob in the game, alright?
local
and
FindFirstChild
"Lvl"
if
not
or
not
or
0
then
-- Is the mob alive? What's the meaning of life? Is the mob really living if it's locked in place only to attack the player, with no sense of self, and trapped in an endless void of legos? Idk.
continue
end
if
and
not
find
then
-- Does the mob have the prefix we're targeting?
continue
end
if
and
then
-- Is the mob our target?
continue
end
if
then
-- Is the mob's level higher than our selected minimum?
continue
end
if
and
then
-- Is the mob our level? "Pick on someone your own size"
continue
end
if
then
PivotTo
CFrame
new
0
5
5
-- Mob hitboxes extend behind them for whatever reason, so you need to be underneath them.
end
if
workspace
10
then
-- Owner added a magnitude check to this event, so attacking anything farther than this is completely useless and dangerous.
FireServer
1
1
-- I'm not changing these args, that sounds like a great way to get banned for being a retard.
end
end
end
end
end
addSlider
"Distance"
10
0
15
function
end
addToggle
"Teleport"
false
function
end
addSection
"Rebirth"
addToggle
"Enabled"
false
function
end
addSection
"Auto Equip"
addToggle
"Enabled"
false
function
while
task
wait
1
and
do
-- I could do a childadded loop, but because the backpack resets when the character spawns, it would be extremely janky.
local
or
Wait
local
WaitForChild
"Humanoid"
3
local
WaitForChild
"Backpack"
3
local
FindFirstChildOfClass
"Tool"
or
FindFirstChildOfClass
"Tool"
local
and
FindFirstChild
"Conf"
and
FindFirstChild
"MaxDmg"
if
not
and
then
-- How don't we have any sword? Idfk, edge-case magic.
continue
end
for
in
next
GetChildren
do
local
FindFirstChild
"Conf"
local
and
FindFirstChild
"MaxDmg"
if
then
if
then
-- If you've ever used a getclosestplayer function, you know how this works.
end
end
end
UnequipTools
-- You better not equip multiple tools at once.
EquipTool
end
end
local
addDropdown
"Mob To Target"
function
if
"Any"
then
nil
else
-- I promise you this isn't as complicated as it seems. https://stackoverflow.com/a/8957225
end
local
addDropdown
"Target Prefix"
function
if
"Any"
then
nil
else
end
addTextbox
"MinimumLevel"
"1"
function
if
tonumber
then
-- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
tonumber
end
end
addToggle
"Only Target Our Level"
false
function
end
for
in
next
GetChildren
do
-- Automatically makes upgrade toggles for every stat, in case any are added later in development.
if
find
"UP"
then
-- Check if it's a valid stat
false
addToggle
false
function
end
end
end
GetPropertyChangedSignal
"Value"
Connect
function
local
if
0
and
then
for
1
do
-- Server code is extremely slow so this is essentially as fast as a task.wait() otherwise.
for
in
next
do
if
true
then
FireServer
"add"
FindFirstChild
false
end
end
end
end
end
nil
-- Venyx hates me, just like god.
nil
Connect
function
-- Add new mobs to the mob table dynamically wow im so cool.