Run it
Copy the script and paste it into your executor.
.() :()
.() :().LocalPlayer
Env = () == ()
(Env.AxonicPetSim99OpenCleanup) == (Env.AxonicPetSim99OpenCleanup)
(Env.AxonicPetSim99Cleanup) == (Env.AxonicPetSim99Cleanup)
()
Area = {}
Players = :()
ReplicatedStorage = :()
LocalPlayer = Players.LocalPlayer
Library = ReplicatedStorage:(, )
ZoneCmds = (Library.Client.ZoneCmds)
CurrencyCmds = (Library.Client.CurrencyCmds)
Network = (Library.Client.Network)
Balancing = (Library.Balancing)
ZonesUtil = (Library.Util.ZonesUtil)
Directory = (Library.Directory)
state = {
Enabled = ,
Status = ,
CurrentZone = ,
LastPurchase = ,
LastTeleportZone = ,
LastTeleportPosition = ,
TargetZoneOverride = ,
Mode = ,
Notify = ,
Paused = ,
MoveGeneration = ,
PurchaseGeneration = ,
}
settings = {
MoveInterval = ,
PurchaseInterval = ,
PurchaseCooldown = ,
RetpDistance = ,
CenterYOffset = ,
}
(message)
state.Status = message
(title, description, duration)
state.Notify
(state.Notify, title, description, duration )
()
character = LocalPlayer.Character
character
,
humanoid = character:()
root = character:()
humanoid root humanoid.Health <=
,
humanoid, root
()
bestZoneId =
bestZoneNumber = -.huge
zoneId, zoneDir (Directory.Zones)
zoneDir.ZoneNumber ZoneCmds.(zoneId) zoneDir.ZoneNumber > bestZoneNumber
bestZoneId = zoneId
bestZoneNumber = zoneDir.ZoneNumber
state.TargetZoneOverride ZoneCmds.(state.TargetZoneOverride)
targetZone = Directory.Zones[state.TargetZoneOverride]
targetZone targetZone.ZoneNumber targetZone.ZoneNumber >= bestZoneNumber
state.TargetZoneOverride
bestZoneId
getZoneCenter
(root)
root
()
closestZoneId =
closestDistance = .huge
zoneId (Directory.Zones)
ZoneCmds.(zoneId)
center = (zoneId)
center
distance = (root.Position - center).Magnitude
distance < closestDistance
closestZoneId = zoneId
closestDistance = distance
closestZoneId ()
(maxZoneNumber)
bestZoneId =
bestZoneNumber = -.huge
bestCenter =
zoneId, zoneDir (Directory.Zones)
zoneDir.ZoneNumber ( maxZoneNumber zoneDir.ZoneNumber <= maxZoneNumber) ZoneCmds.(zoneId)
center = (zoneId)
center
ok, teleportCFrame = (ZonesUtil.GetTeleportPartLocation, zoneId)
ok teleportCFrame
(teleportCFrame) ==
center = teleportCFrame.Position + .(, settings.CenterYOffset, )
(teleportCFrame) ==
center = teleportCFrame + .(, settings.CenterYOffset, )
(teleportCFrame) ==
teleportCFrame:()
center = teleportCFrame.Position + .(, settings.CenterYOffset, )
center zoneDir.ZoneNumber > bestZoneNumber
bestZoneId = zoneId
bestZoneNumber = zoneDir.ZoneNumber
bestCenter = center
bestZoneId, bestCenter, bestZoneNumber
getZoneCenter = (zoneId)
okBreakZones, breakZones = (ZonesUtil.GetBreakableZones, zoneId)
okBreakZones breakZones
parts = {}
(instance)
(instance) == instance:()
parts[#parts + ] = instance
(breakZones) ==
breakZones:()
parts[#parts + ] = breakZones
_, instance (breakZones:())
(instance)
(breakZones) ==
_, entry (breakZones)
(entry) ==
entry:()
parts[#parts + ] = entry
_, instance (entry:())
(instance)
#parts ==
minPos = .(.huge, .huge, .huge)
maxPos = .(-.huge, -.huge, -.huge)
_, instance (parts)
half = instance.Size *
low = instance.Position - half
high = instance.Position + half
minPos = .(
.(minPos.X, low.X),
.(minPos.Y, low.Y),
.(minPos.Z, low.Z)
)
maxPos = .(
.(maxPos.X, high.X),
.(maxPos.Y, high.Y),
.(maxPos.Z, high.Z)
)
(minPos + maxPos) * + .(, settings.CenterYOffset, )
(zoneId, allowTeleportPoint)
center = (zoneId)
center
center,
ok, teleportLocation = (ZonesUtil.GetTeleportPartLocation, zoneId)
ok teleportLocation
position
(teleportLocation) ==
position = teleportLocation.Position
(teleportLocation) ==
position = teleportLocation
(teleportLocation) == teleportLocation:()
position = teleportLocation.Position
position
position + .(, settings.CenterYOffset, ),
,
(root, zoneId, position, force)
character = LocalPlayer.Character
character
force state.LastTeleportZone == zoneId state.LastTeleportPosition
(root.Position - state.LastTeleportPosition).Magnitude <= settings.RetpDistance
root.AssemblyLinearVelocity = .zero
root.AssemblyAngularVelocity = .zero
character:(.(position, position + root.CFrame.LookVector))
state.LastTeleportZone = zoneId
state.LastTeleportPosition = position
(generation)
state.Enabled state.MoveGeneration == generation
state.Paused
.(settings.MoveInterval)
humanoid, root = ()
zoneId
state.Mode ==
state.TargetZoneOverride
state.TargetZoneOverride = (root)
okOwns, owns = (ZoneCmds.Owns, state.TargetZoneOverride)
okOwns owns
state.TargetZoneOverride = (root)
zoneId = state.TargetZoneOverride
zoneId = ()
humanoid root zoneId
center, isCoinCenter = (zoneId, )
center
state.CurrentZone = zoneId
(root, zoneId, center, )
(((isCoinCenter ) ):((zoneId)))
(((isCoinCenter ) ):((zoneId)))
targetNumber = Directory.Zones[zoneId] Directory.Zones[zoneId].ZoneNumber
loadedZoneId, loadedCenter = (targetNumber (targetNumber - ) )
loadedZoneId loadedCenter
state.CurrentZone = loadedZoneId
(root, loadedZoneId, loadedCenter, )
(():((zoneId)))
(():((zoneId)))
(():((zoneId)))
()
.(settings.MoveInterval)
(nextZone)
nextZone nextZone.Currency
ZoneCmds.HasCompletedNextZoneQuests ZoneCmds.()
price = Balancing.(nextZone)
CurrencyCmds.(nextZone.Currency, price), price
(generation)
state.Enabled state.PurchaseGeneration == generation
state.Paused state.Mode ~=
.(settings.PurchaseInterval)
okNext, nextZoneId, nextZone = (ZoneCmds.GetNextZone)
okNext
now = .()
nextZoneId nextZone now - state.LastPurchase >= settings.PurchaseCooldown
canBuy, price = (nextZone)
canBuy
state.LastPurchase = now
(():((nextZone.ZoneNumber nextZoneId)))
ok, result = (()
Network.(, nextZoneId)
)
ok result ~=
state.TargetZoneOverride = nextZoneId
_, root = ()
center = (nextZoneId, )
root center state.Paused
(root, nextZoneId, center, )
(, ():((nextZone.ZoneNumber nextZoneId)), )
price
(():((nextZone.ZoneNumber nextZoneId)))
.(settings.PurchaseInterval)
Area.(callback)
state.Notify = callback
Area.(mode)
state.Mode = mode ==
state.TargetZoneOverride =
state.LastTeleportZone =
state.LastTeleportPosition =
Area.(enabled, mode)
enabled = enabled ==
oldMode = state.Mode
mode
Area.(mode)
state.Enabled == enabled
enabled oldMode ~= state.Mode
state.MoveGeneration +=
moveGeneration = state.MoveGeneration
.(moveLoop, moveGeneration)
state.PurchaseGeneration +=
state.Mode ==
purchaseGeneration = state.PurchaseGeneration
.(purchaseLoop, purchaseGeneration)
state.Enabled = enabled
state.MoveGeneration +=
state.PurchaseGeneration +=
enabled
()
state.Mode ~=
state.TargetZoneOverride =
state.LastTeleportZone =
state.LastTeleportPosition =
moveGeneration = state.MoveGeneration
.(moveLoop, moveGeneration)
state.Mode ==
purchaseGeneration = state.PurchaseGeneration
.(purchaseLoop, purchaseGeneration)
()
state.TargetZoneOverride =
state.LastTeleportZone =
state.LastTeleportPosition =
Area.(value)
value = value ==
state.Paused == value
state.Paused = value
state.Paused
()
state.Enabled
()
state.LastTeleportZone =
state.LastTeleportPosition =
Area.()
state.Paused
Area.()
state.Enabled
Area.()
state.Status
Area.()
state.Mode
Area.(distance)
settings.RetpDistance = .((distance) settings.RetpDistance, , )
Area.()
state.CurrentZone
Area.(zoneId)
(zoneId)
Area.(zoneId, force)
_, root = ()
root zoneId
center = (zoneId, )
center
state.CurrentZone = zoneId
(root, zoneId, center, force == )
targetNumber = Directory.Zones[zoneId] Directory.Zones[zoneId].ZoneNumber
loadedZoneId, loadedCenter = (targetNumber (targetNumber - ) )
loadedZoneId loadedCenter
state.CurrentZone = loadedZoneId
(root, loadedZoneId, loadedCenter, force == )
Area
()
env = ()
env env.AxonicPetSim99Area env.AxonicPetSim99Area.SetEnabled
(()
env.AxonicPetSim99Area.()
)
module = ()
env
env.AxonicPetSim99Area = module
env.AxonicPetSim99AreaVersion =
module
Area = ()
ReplicatedStorage = :()
Players = :()
VirtualInputManager = :()
TeleportService = :()
HttpService = :()
RunService = :()
Library = ReplicatedStorage:(, )
Network = (Library.Client.Network)
Directory = (Library.Directory)
ZoneFlags = (Library.Directory.ZoneFlags)
Save = (Library.Client.Save)
ZoneCmds = (Library.Client.ZoneCmds)
MapCmds = (Library.Client.MapCmds)
BreakableCmds = .((Library.Client.BreakableCmds))
BreakableCmds.Frontend = (Library.Client.BreakableFrontend)
BreakableCmds.Signal = (Library.Signal)
BreakableCmds.Instancing = (Library.Client.InstancingCmds)
FruitCmds = (Library.Client.FruitCmds)
HatchingCmds = (Library.Client.HatchingCmds)
EggCmds = (Library.Client.EggCmds)
(name)
module = Library.Client:(name)
module
ok, result = (, module)
ok result
PromptCmds = ()
InteractCmds = ()
UltimateCmds = (Library.Client.UltimateCmds)
PotionCmds = (Library.Client.PotionCmds)
FlexibleFlagCmds = ()
Items = (Library.Items)
MiscItem = (Library.Items.MiscItem)
Balancing = (Library.Balancing)
CurrencyCmds = (Library.Client.CurrencyCmds)
RanksUtil = (Library.Util.RanksUtil)
EggsUtil = (Library.Util.EggsUtil)
HatchingTypes = (Library.Types.Hatching)
QuestTypes = (Library.Types.Quests)
BreakableTypes = (Library.Types.Breakables)
automation = {
RunId = ,
AutoArea = ,
CurrentArea = ,
AutoTapBreakables = ,
ClaimRankRewards = ,
AutoRank = ,
ClaimFreeGifts = ,
FlagPlacing = ,
AutoUltimate = ,
AutoHatchBestEgg = ,
SelectedFlag = ,
TargetPriority = ,
HatchAmount = ,
RankHatching = ,
EventMovement = ,
UpgradeMovement = ,
}
Env.AxonicPetSim99AutomationRunId = (Env.AxonicPetSim99AutomationRunId ) +
automation.RunId = Env.AxonicPetSim99AutomationRunId
()
Area.(
automation.AutoHatchBestEgg
automation.RankHatching
automation.EventMovement
automation.UpgradeMovement
automation.FlagPlacing
)
()
character = .Players.LocalPlayer.Character
character character:()
()
bestZoneId = Area.()
bestZoneNumber = -.huge
zoneId, zoneDir (Directory.Zones)
zoneDir.ZoneNumber zoneDir.ZoneNumber > bestZoneNumber
ok, owns = (ZoneCmds.Owns, zoneId)
ok owns
bestZoneId = zoneId
bestZoneNumber = zoneDir.ZoneNumber
bestZoneId, bestZoneNumber
(item)
ok, amount = (item.GetAmount, item)
ok amount
(currencyId)
ok, amount = (CurrencyCmds.Get, currencyId)
ok amount
(itemFactory, itemName)
ok, template = (()
(itemName)
)
ok template
stacks = template:()
_, item (stacks {})
(item) >
item
()
MapCmds.() Area.() ()
BreakableCmds.(model)
(model) ~= model.Parent
uid = model:()
(uid) ~=
record = BreakableCmds.Frontend.(uid)
record record.model ~= model
record
BreakableCmds.(model)
data = BreakableCmds.(model)
data data.disableDamage (data.dir (data.dir.NoTapping data.dir.ManualDamage))
model:() model:()
owner = data.modifier data.modifier.Owner model:()
owner owner ~= Players.LocalPlayer.Name
(data.health) data.health <=
model:()
data.parentType == BreakableTypes.ParentType.Zone
data.parentID ~= MapCmds.() ZoneCmds.(data.parentID)
data.parentType == BreakableTypes.ParentType.Instance
BreakableCmds.Instancing.(data.parentID)
root = ()
root
config = BreakableCmds.Instancing.()
reach = config config.MaxClickDistance
(model:().Position - root.Position).Magnitude > reach
data
BreakableCmds.(model)
data = BreakableCmds.(model)
data
.() - (BreakableCmds.LastTap -.huge) <
BreakableCmds.LastTap = .()
BreakableCmds.Signal.(, data.uid)
collectZoneBreakables
(zoneId)
root = ()
root
candidates = {}
preferred = {}
priority = automation.TargetPriority
_, model ((zoneId))
data = BreakableCmds.(model)
data
id = (data.id ):()
distance = (model:().Position - root.Position).Magnitude
hp = (data.health) .huge
entry = {model = model, distance = distance, hp = hp}
candidates[#candidates + ] = entry
(priority == (id:(, , ) id:(, , )))
(priority == (data.class == id:(, , )))
preferred[#preferred + ] = entry
pool = #preferred > preferred candidates
best, score
_, entry (pool)
value = entry.distance
entry.hp ~= .huge
priority == value = -entry.hp + entry.distance *
priority == value = entry.hp + entry.distance *
best value < score best, score = entry.model, value
best
collectZoneBreakables = (zoneId)
results, seen = {}, {}
(pool)
_, model (pool {})
(model) == model.Parent seen[model]
seen[model] =
results[#results + ] = model
BreakableCmds.Instancing.()
(BreakableCmds.(, ))
zoneId
(BreakableCmds.(zoneId, ))
(BreakableCmds.(zoneId, ))
results
(model)
model model.Parent
model:()
model.Position
model:()
model:().Position
()
save = Save.()
save
rankId = RanksUtil.(save.Rank)
rankDir = rankId Directory.Ranks[rankId]
rankDir (rankDir.Rewards) ~=
entries = {}
index, reward (rankDir.Rewards)
(reward) ==
entries[#entries + ] = {
Index = index,
Reward = reward,
}
.(entries, (a, b)
an = (a.Index)
bn = (b.Index)
an bn
an < bn
(a.Index) < (b.Index)
)
redeemed = save.RedeemedRankRewards {}
earnedStars =
claimed =
(index)
redeemed[index] ==
redeemed[(index)] ==
.(redeemed, index) ~=
.(redeemed, (index)) ~=
_, entry (entries)
earnedStars += (entry.Reward.StarsRequired)
earnedStars <= ((save.RankStars) )
(entry.Index)
ok = (Network.Fire, , entry.Index)
ok
claimed =
.()
claimed
()
save = Save.()
save
redeemed = save.FreeGiftsRedeemed {}
claimed =
(giftId)
redeemed[giftId] ==
redeemed[(giftId)] ==
.(redeemed, giftId) ~=
.(redeemed, (giftId)) ~=
entries = {}
giftId, giftDir (Directory.FreeGifts {})
entries[#entries + ] = {
Id = giftId,
Data = giftDir,
}
.(entries, (a, b)
((a.Data.WaitTime) .huge) < ((b.Data.WaitTime) .huge)
)
_, entry (entries)
waitTime = (entry.Data.WaitTime)
waitTime
((save.FreeGiftsTime) ) >= waitTime
(entry.Id)
ok, result = (Network.Invoke, , entry.Id)
ok result ~=
claimed =
.()
claimed
(goal)
_, fruit (Items.Fruit:() {})
okId, fruitId = (fruit.GetId, fruit)
goal goal.FruitID ( okId fruitId ~= goal.FruitID)
okUid, uid = (fruit.GetUID, fruit)
okUid uid
okMax, maxConsume = (FruitCmds.GetMaxConsume, uid)
remaining = goal .(,
((goal.Amount) ) - ((goal.Progress) )) .huge
amount = .((fruit), (maxConsume) , remaining)
okMax amount >
ok = (FruitCmds.Consume, uid, amount)
ok
(goal)
_, potion (Items.Potion:() {})
okId, potionId = (potion.GetId, potion)
okTier, potionTier = (potion.GetTier, potion)
goal ((goal.PotionID ( okId potionId ~= goal.PotionID))
(goal.PotionTier ( okTier potionTier ~= goal.PotionTier)))
okUid, uid = (potion.GetUID, potion)
okUid uid
ok = (PotionCmds.Consume, uid, )
ok
stopAutoHatching
()
flagId = automation.SelectedFlag
FlexibleFlagCmds flagId (ZoneFlags, flagId)
flag = (MiscItem, flagId)
flag
instanceInfo = MapCmds.()
parentType, parentId, areaId
instanceInfo
parentType = BreakableTypes.ParentType.Instance
parentId = instanceInfo.InstanceId
areaId = instanceInfo.AreaId
parentType = BreakableTypes.ParentType.Zone
parentId = MapCmds.()
parentId
instanceInfo MapCmds.()
targetZone = parentId
targetZone ZoneCmds.(targetZone)
targetZone = ()
targetZone
okMove, moved = (()
okTeleport, teleportResult = (Area.TeleportToZone, targetZone, )
okTeleport teleportResult ==
_ = ,
currentZone = MapCmds.()
currentZone MapCmds.()
parentId = currentZone
.()
)
okMove moved
instanceInfo MapCmds.()
active = FlexibleFlagCmds.(parentType, parentId, areaId)
active
okPlace, maxPlace = (FlexibleFlagCmds.GetMaxPlaceAutomaticContext, flagId)
okPlace ((maxPlace) ) <
okUid, uid = (flag.GetUID, flag)
okUid uid
ok, placed = (FlexibleFlagCmds.Consume, flagId, uid, )
ok placed ==
()
automation.FlagPlacing
automation.FlagPlacing =
()
stopAutoHatching
(stopAutoHatching)
ok, placed = (placeSelectedFlag)
automation.FlagPlacing =
()
ok placed ==
()
ok, item = (UltimateCmds.GetEquippedItem)
ok item
okId, ultimateId = (item.GetId, item)
okId ultimateId
UltimateCmds.(ultimateId)
(UltimateCmds.Activate, ultimateId)
()
save = Save.()
save
,
bestEgg =
bestEggId =
bestNumber = -.huge
eggId, eggDir (Directory.Eggs {})
eggNumber = (eggDir.eggNumber)
eggNumber
eggNumber > bestNumber
eggNumber <= ((save.MaximumAvailableEgg) eggNumber)
ok, unlocked = (EggCmds.IsUnlocked, eggId)
ok unlocked eggDir.currency
bestEgg = eggDir
bestEggId = eggId
bestNumber = eggNumber
bestEgg, bestEggId
()
save = Save.()
save
,
maximum = (save.MaximumAvailableEgg)
bestEgg =
bestEggId =
bestNumber = -.huge
eggId, eggDir (Directory.Eggs {})
eggNumber = (eggDir.eggNumber)
eggNumber
eggDir.currency
eggNumber > bestNumber
(maximum == eggNumber <= maximum)
bestEgg = eggDir
bestEggId = eggId
bestNumber = eggNumber
bestEgg, bestEggId
(object)
object
object:()
object.Position
model = object:()
object
object:()
model
ok, pivot = (model.GetPivot, model)
ok pivot
pivot.Position
part = object:()
object:(, )
part part.Position
(egg)
egg
eggPart = EggsUtil.(egg.eggNumber)
eggPart
bestZone = ()
bestZone
Area.(bestZone, )
.()
eggPart = EggsUtil.(egg.eggNumber)
root = ()
character = Players.LocalPlayer.Character
eggPart root character
position = eggPart.Position + .(, , -)
(root.Position - position).Magnitude >
root.AssemblyLinearVelocity = .zero
root.AssemblyAngularVelocity = .zero
character:(.(position, eggPart.Position))
.()
eggPart
(prompt)
prompt prompt.Parent
(prompt.Parent)
(eggPart)
root = ()
root
eggPosition = eggPart eggPart.Position root.Position
best
bestScore = -.huge
_, prompt (:())
prompt:() prompt.Enabled
position = (prompt)
position
playerDistance = (root.Position - position).Magnitude
eggDistance = (eggPosition - position).Magnitude
allowed = .((prompt.MaxActivationDistance) , ) +
playerDistance <= allowed eggDistance <=
text = .(
(prompt.ActionText )
..
.. (prompt.ObjectText )
..
.. (prompt.Name )
)
score = - playerDistance
prompt.KeyboardKeyCode == .KeyCode.E
score +=
.(text, , , )
score +=
.(text, , , )
score +=
.(text, , , )
score +=
score > bestScore
bestScore = score
best = prompt
best
(module, names, argumentSets)
(module) ~=
attempted =
_, name (names)
fn = module[name]
(fn) ==
_, args (argumentSets)
attempted =
(fn, .(args))
(fn, module, .(args))
attempted
(prompt)
prompt
args = {
{prompt},
{prompt, Players.LocalPlayer},
{prompt.Parent},
}
attempted = (
PromptCmds,
{
,
,
,
,
,
,
},
args
)
attempted = (
InteractCmds,
{
,
,
,
,
,
},
args
) attempted
attempted
(prompt)
prompt prompt:() prompt.Enabled
fired = (prompt)
() ==
hold = .((prompt.HoldDuration) , )
(, prompt, hold, )
fired =
(, prompt)
fired =
(getconnections) ==
ok, connections = (getconnections, prompt.Triggered)
ok (connections) ==
_, connection (connections)
(connection.Function) ==
(connection.Function, Players.LocalPlayer)
fired =
(connection.Fire) ==
(connection.Fire, connection, Players.LocalPlayer)
fired =
key = prompt.KeyboardKeyCode
ok = (()
prompt:()
key key ~= .KeyCode.Unknown
VirtualInputManager:(, key, , )
.(.(, .((prompt.HoldDuration) , )))
key key ~= .KeyCode.Unknown
VirtualInputManager:(, key, , )
prompt:()
)
ok fired
(egg, eggId)
egg eggId
()
ok, value = (EggCmds.IsUnlocked, eggId)
ok value ==
()
stopAutoHatching
()
attempt = ,
automation.AutoRank
eggPart = (egg)
eggPart
.()
.()
okRequest, result = (EggCmds.RequestUnlock, eggId)
okRequest result ~=
started = .()
automation.AutoRank .() - started <
()
.()
.()
prompt = (eggPart)
prompt
(prompt)
started = .()
automation.AutoRank .() - started <
()
.()
.()
attempt <
.()
hatchBlockedCurrency =
hatchBlockedAmount =
hatchBlockedUntil =
rankHatchLastAttempt =
activeHatchSignature =
stopAutoHatching = ()
activeHatchSignature =
(()
HatchingCmds.Disable
HatchingCmds.(HatchingTypes.Options.AUTO)
)
(()
HatchingCmds.SetEnabled
HatchingCmds.(HatchingTypes.Options.AUTO, )
)
(needle)
pg = Players.LocalPlayer:()
pg
needle = .(needle)
_, obj (pg:())
(obj:() obj:())
obj.Visible
(obj.Text) ==
.(.(obj.Text), needle, , )
(fromRank, requestedEggId)
automation.FlagPlacing ( fromRank automation.RankHatching)
fromRank
automation.AutoRank
automation.AutoHatchBestEgg
()
egg, eggId
fromRank
requestedEggId
eggId = requestedEggId
egg = Directory.Eggs[eggId]
egg, eggId = ()
egg, eggId = ()
egg
fromRank
(egg, eggId)
currencyId = egg.currency (egg.currency._id egg.currency.id egg.currency)
currentCurrency = currencyId (currencyId)
hatchBlockedCurrency == currencyId
hatchBlockedAmount ~=
currentCurrency ~=
currentCurrency <= hatchBlockedAmount
.() < hatchBlockedUntil
currentCurrency hatchBlockedAmount currentCurrency > hatchBlockedAmount
hatchBlockedCurrency =
hatchBlockedAmount =
hatchBlockedUntil =
eggPart = (egg)
eggPart
fromRank
automation.AutoRank
automation.AutoHatchBestEgg
()
amount = automation.HatchAmount
amount ==
okMax, maxAmount = (EggCmds.GetMaxHatch, egg)
amount = okMax maxAmount
okLimit, limit = (EggCmds.GetMaxHatch, egg)
amount = .(.((amount) ), , .(, okLimit (limit) ))
signature = (egg.eggNumber) .. .. (amount)
ok =
activeHatchSignature ~= signature
ok = (()
HatchingCmds.(HatchingTypes.Options.AUTO)
HatchingCmds.(egg, amount)
HatchingCmds.()
)
ok
activeHatchSignature = signature
ok = (()
HatchingCmds.(HatchingTypes.Options.AUTO)
)
.()
()
()
()
hatchBlockedCurrency = currencyId
hatchBlockedAmount = currentCurrency
hatchBlockedUntil = .() +
ok
rankGoalState = {}
rankSelectedGoal =
rankLastNumber =
rankLastClaim =
(goal)
kind = goal.Type
types = QuestTypes.Goals
kind == types.USE_FRUIT kind == types.USE_POTION kind == types.USE_FLAG
kind == types.FREE_GIFT
kind == types.BREAKABLE kind == types.CURRENT_BREAKABLE
kind == types.DIAMOND_BREAKABLE kind == types.MINI_CHEST
kind == types.COLLECT_POTION kind == types.COLLECT_ENCHANT
kind == types.COLLECT_FRUIT kind == types.COLLECT_LOOTBAG
kind == types.CURRENCY kind == types.OBTAIN_CURRENCY
kind == types.BEST_EGG kind == types.EGG
(save)
now = .()
best, bestPriority, bestRemaining, current
_, goal (save.Goals {})
(goal) == (goal.Progress) (goal.Amount)
goal.Progress < goal.Amount
priority = (goal)
priority
key = (goal.UID goal)
state = rankGoalState[key]
state
state = { Progress = goal.Progress, ChangedAt = now, SkipUntil = }
rankGoalState[key] = state
state.Progress ~= goal.Progress
state.Progress = goal.Progress
state.ChangedAt = now
state.SkipUntil =
key == rankSelectedGoal
now - state.ChangedAt > (priority == )
state.SkipUntil = now +
state.ChangedAt = now
now >= state.SkipUntil
key == rankSelectedGoal current = goal
remaining = goal.Amount - goal.Progress
best priority < bestPriority
(priority == bestPriority remaining < bestRemaining)
best, bestPriority, bestRemaining = goal, priority, remaining
current best
(goal, breakable)
identity = .(.({
(breakable.Name ),
(breakable:() ),
(breakable:() ),
(breakable:() ),
}, ))
types = QuestTypes.Goals
goal.Type == types.DIAMOND_BREAKABLE
identity:(, , ) identity:(, , )
goal.Type == types.MINI_CHEST
identity:(, , ) identity:(, , )
goal.BreakableDirID
identity:(.((goal.BreakableDirID)), , ) ~=
goal.BreakableType
identity:(.((goal.BreakableType)), , ) ~=
(goal, zoneId)
zoneId
goal.BreakableType goal.BreakableDirID
goal.Type ~= QuestTypes.Goals.DIAMOND_BREAKABLE
goal.Type ~= QuestTypes.Goals.MINI_CHEST
(zoneId)
root = ()
root
best, bestDistance
_, model ((zoneId))
BreakableCmds.(model) (goal, model)
position = (model)
position
distance = (position - root.Position).Magnitude
bestDistance distance < bestDistance
best, bestDistance = model, distance
best
()
save = Save.()
automation.AutoRank save
automation.RankHatching ()
automation.RankHatching =
rankSelectedGoal =
()
rankLastNumber ~= save.Rank
rankLastNumber = save.Rank
rankGoalState = {}
rankSelectedGoal =
.() - rankLastClaim >=
rankLastClaim = .()
()
goal = (save)
selected = goal (goal.UID goal)
selected selected ~= rankSelectedGoal
rankGoalState[selected].ChangedAt = .()
isHatch = goal (goal.Type == QuestTypes.Goals.BEST_EGG
goal.Type == QuestTypes.Goals.EGG)
automation.RankHatching isHatch ()
rankSelectedGoal = selected
automation.RankHatching = isHatch
()
goal
types = QuestTypes.Goals
goal.Type == types.USE_FRUIT
(goal)
rankGoalState[selected].SkipUntil = .() +
goal.Type == types.USE_POTION
(goal)
rankGoalState[selected].SkipUntil = .() +
goal.Type == types.USE_FLAG
wanted = goal.FlagID goal.FlagId
(wanted wanted ~= automation.SelectedFlag) ()
rankGoalState[selected].SkipUntil = .() +
goal.Type == types.FREE_GIFT
()
rankGoalState[selected].SkipUntil = .() +
isHatch
.() - rankHatchLastAttempt >=
rankHatchLastAttempt = .()
(, goal.EggID)
rankGoalState[selected].SkipUntil = .() +
zoneId = goal.Type == types.CURRENT_BREAKABLE
() ()
zoneId ( Area.() goal.Type == types.CURRENT_BREAKABLE)
(Area.TeleportToZone, zoneId, )
breakable = (goal, zoneId)
breakable automation.AutoRank
BreakableCmds.(breakable)
rankGoalState[selected].SkipUntil = .() +
loopErrors = {}
(flagName, interval, callback)
runId = automation.RunId
.(()
Env.AxonicPetSim99AutomationRunId ~= runId
automation[flagName]
ok, err = (callback)
ok
now = .()
loopErrors[flagName] now - loopErrors[flagName] >
loopErrors[flagName] = now
(():(flagName, (err)))
.(interval)
.()
)
LocalPlayer = Players.LocalPlayer
UIS = :()
env = Env
Gui, MainGui, HubGui, ClosePopup, GameGui
Connections = {}
statusText =
Area.((_, description) statusText = description )
(class, props, parent)
obj = .(class)
k, v (props) obj[k] = v
obj.Parent = parent
obj
(signal, callback)
c = signal:(callback)
.(Connections, c)
c
theme = {
Window = .(, , ),
Header = .(, , ),
Card = .(, , ),
Button = .(, , ),
Hover = .(, , ),
Border = .(, , ),
BorderBright = .(, , ),
Text = .(, , ),
Muted = .(, , ),
Faint = .(, , ),
Active = .(, , ),
}
(obj, n)
(, {CornerRadius = .(, n)}, obj)
(obj, color, transparency)
(, {Color = color theme.Border, Thickness = , Transparency = transparency }, obj)
(parent, text, x, y, w, h, size, color, font)
(, {
Position = .(x,y), Size = .(w,h),
BackgroundTransparency = , Text = text, TextSize = size,
TextColor3 = color theme.Text, Font = font .Font.Gotham,
TextXAlignment = .TextXAlignment.Left,
}, parent)
(parent, text, x, y, w, h)
b = (, {
Position = .(x,y), Size = .(w,h),
BackgroundColor3 = theme.Button, BorderSizePixel = , AutoButtonColor = ,
Text = text, Font = .Font.GothamMedium, TextSize = , TextColor3 = theme.Text,
}, parent)
(b,)
(b)
b.MouseEnter:(() b.BackgroundColor3 = theme.Hover )
b.MouseLeave:(() b.BackgroundColor3 = theme.Button )
b
(viewport)
.(, .(, .((viewport.X-)/, (viewport.Y-)/)))
()
parent = LocalPlayer:()
old = parent:()
old old:()
gui = (, {Name=, IgnoreGuiInset=, ResetOnSpawn=, DisplayOrder=}, parent)
MainGui = gui
panel = (, {AnchorPoint=.(,), Position=.(,,,), Size=.(,), BackgroundColor3=theme.Window, BorderSizePixel=},gui)
(panel,)
(panel,theme.BorderBright)
scale=(,{Scale=},panel)
header=(,{Size=.(,,,),BackgroundColor3=theme.Header,BorderSizePixel=},panel)
(header,)
(header,,,,,,,theme.Text,.Font.GothamBold)
(header,,,,,,,theme.Muted)
(header,,,,,).Activated:(() gui.Enabled= )
drag=(,{Size=.(,-,,),BackgroundTransparency=,Text=,Active=},header)
origin, start, touch
drag.InputBegan:((input)
input.UserInputType~=.UserInputType.MouseButton1 input.UserInputType~=.UserInputType.Touch
origin=input.Position
start=panel.AbsolutePosition+panel.AbsoluteSize/
touch=input.UserInputType==.UserInputType.Touch input
)
(x,y)
viewport=.CurrentCamera .CurrentCamera.ViewportSize
viewport
half=panel.AbsoluteSize/
panel.Position=.(.(x,.(half.X,viewport.X/),.(viewport.X-half.X,viewport.X/)),.(y,.(half.Y,viewport.Y/),.(viewport.Y-half.Y,viewport.Y/)))
(UIS.InputChanged,(input)
origin (input.UserInputType~=.UserInputType.MouseMovement input~=touch)
d=input.Position-origin
(start.X+d.X,start.Y+d.Y)
)
(UIS.InputEnded,(input)
input==touch input.UserInputType==.UserInputType.MouseButton1 origin=; touch=
)
(UIS.InputBegan,(input,processed)
processed input.KeyCode==Enum.KeyCode.RightShift then gui.Enabled=not gui.Enabled end
end)
local function row(y)
local f=make("Frame",{Position=UDim2.fromOffset(15,y),Size=UDim2.fromOffset(290,32),BackgroundColor3=theme.Card,BorderSizePixel=0},panel)
round(f,3); outline(f)
return f
end
local switches={}
local function refresh()
for field,parts in pairs(switches) do
local enabled=automation[field]==true
parts[1].BackgroundColor3=enabled and theme.Active or theme.Button
parts[2].BackgroundColor3=enabled and theme.Text or theme.Muted
parts[2].Position=UDim2.fromOffset(enabled and 20 or 3,3)
end
end
local function toggle(y,name,field,callback)
local f=row(y)
label(f,name,12,0,220,32,12,theme.Text,Enum.Font.GothamMedium)
local sw=make("TextButton",{Position=UDim2.fromOffset(243,7),Size=UDim2.fromOffset(35,18),BackgroundColor3=theme.Button,Text="",AutoButtonColor=false,BorderSizePixel=0},f)
round(sw,9); outline(sw,theme.BorderBright)
local dot=make("Frame",{Position=UDim2.fromOffset(3,3),Size=UDim2.fromOffset(12,12),BackgroundColor3=theme.Muted,BorderSizePixel=0},sw)
round(dot,6); switches[field]={sw,dot}
sw.Activated:Connect(function()
automation[field]=not automation[field]
if callback then callback(automation[field]) end
refresh()
end)
end
label(panel,"PROGRESS",15,57,250,14,10,theme.Faint,Enum.Font.GothamBold)
toggle(76,"Auto Area","AutoArea",function(on)
if on then automation.CurrentArea=false; Area.SetEnabled(true,"Best") elseif not automation.CurrentArea then Area.SetEnabled(false) end
end)
toggle(112,"Current Area","CurrentArea",function(on)
if on then automation.AutoArea=false; Area.SetEnabled(true,"Current") elseif not automation.AutoArea then Area.SetEnabled(false) end
end)
label(panel,"BREAKABLES",15,153,250,14,10,theme.Faint,Enum.Font.GothamBold)
toggle(172,"Auto Tap Breakables","AutoTapBreakables")
local target=row(208)
label(target,"Target",12,0,130,32,12)
local choice=button(target,automation.TargetPriority,159,4,119,24)
local menu=make("Frame",{Position=UDim2.fromOffset(174,240),Size=UDim2.fromOffset(119,128),BackgroundColor3=theme.Window,BorderSizePixel=0,Visible=false,ZIndex=20},panel)
round(menu,4); outline(menu,theme.BorderBright)
for i,name in ipairs({"Nearest","Diamonds","Chests","Highest HP","Lowest HP"}) do
local item=button(menu,name,3,3+(i-1)*24,113,22)
item.ZIndex=21
item.Activated:Connect(function() automation.TargetPriority=name; choice.Text=name; menu.Visible=false end)
end
choice.Activated:Connect(function() menu.Visible=not menu.Visible end)
toggle(244,"Auto Ultimate","AutoUltimate")
label(panel,"REWARDS",15,285,250,14,10,theme.Faint,Enum.Font.GothamBold)
toggle(304,"Auto Rank","AutoRank",function(on)
if not on then doAutoRank() end
end)
toggle(340,"Claim Rank Rewards","ClaimRankRewards")
toggle(376,"Claim Free Gifts","ClaimFreeGifts")
local status=label(panel,"Ready",15,420,290,22,10,theme.Muted)
status.TextTruncate=Enum.TextTruncate.AtEnd
refresh()
local elapsed=0
connect(RunService.Heartbeat,function(dt)
elapsed+=dt
if elapsed<.25 then return end
elapsed=0
status.Text=Area.IsEnabled() and Area.GetStatus() or (automation.AutoRank and "Rank tasks active" or automation.AutoTapBreakables and "Auto Tap enabled" or statusText)
end)
local previous, previousLayout
local function fit()
local v=workspace.CurrentCamera and workspace.CurrentCamera.ViewportSize
if not v or v==previous then return end
previous=v
local first = previousLayout == nil
previousLayout = v
scale.Scale=startupScale(v)
if first then
panel.Position=UDim2.new(0,16+160*scale.Scale,.5,0)
else
clampPanel(v.X*panel.Position.X.Scale+panel.Position.X.Offset,v.Y*panel.Position.Y.Scale+panel.Position.Y.Offset)
end
end
fit(); connect(RunService.RenderStepped,fit)
end
local function popup()
local parent = LocalPlayer:WaitForChild("PlayerGui")
local old = parent:FindFirstChild("AxonicPS99OpenDiscord")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "AxonicPS99OpenDiscord"
gui.IgnoreGuiInset = true
gui.ResetOnSpawn = false
gui.DisplayOrder = 100
gui.Parent = parent
Gui = gui
local width, height = 360, 372
local panel = make("Frame", {
AnchorPoint = Vector2.new(1, .5),
Position = UDim2.new(1, -14, .5, 0),
Size = UDim2.fromOffset(width, height),
BackgroundColor3 = theme.Window,
BorderSizePixel = 0,
ClipsDescendants = true
}, gui)
round(panel, 7)
outline(panel, theme.BorderBright, .34)
local scale = make("UIScale", {Scale = 1}, panel)
local header = make("Frame", {
Size = UDim2.new(1, 0, 0, 49),
BackgroundColor3 = theme.Header,
BorderSizePixel = 0
}, panel)
round(header, 7)
make("Frame", {
Position = UDim2.fromOffset(0, 7),
Size = UDim2.new(1, 0, 1, -7),
BackgroundColor3 = theme.Header,
BorderSizePixel = 0
}, header)
make("Frame", {
Position = UDim2.new(0, 0, 1, -1),
Size = UDim2.new(1, 0, 0, 1),
BackgroundColor3 = theme.Border,
BorderSizePixel = 0
}, header)
label(header, "Axonic", 15, 6, 220, 20, 15, theme.Text, Enum.Font.GothamBold)
label(header, "PET SIMULATOR 99 / Open Source", 15, 26, 225, 13, 10, theme.Muted)
local dragHandle = make("TextButton", {
Size = UDim2.new(1, -48, 1, 0),
BackgroundTransparency = 1,
Text = "",
Active = true,
AutoButtonColor = false,
ZIndex = 2
}, header)
local close = make("TextButton", {
Position = UDim2.new(1, -40, 0, 11),
Size = UDim2.fromOffset(27, 27),
BackgroundColor3 = theme.Button,
Text = "脳",
TextSize = 15,
Font = Enum.Font.GothamMedium,
TextColor3 = theme.Muted,
AutoButtonColor = false,
BorderSizePixel = 0,
ZIndex = 3
}, header)
round(close, 3)
outline(close, theme.Border, .3)
local popupConnections = {}
local function popupConnect(signal, callback)
local c = signal:Connect(callback)
table.insert(popupConnections, c)
return c
end
local function closePopup()
for _, c in ipairs(popupConnections) do
c:Disconnect()
end
table.clear(popupConnections)
if gui.Parent then gui:Destroy() end
if Gui == gui then Gui = nil end
if ClosePopup == closePopup then ClosePopup = nil end
end
ClosePopup = closePopup
close.MouseEnter:Connect(function()
close.BackgroundColor3 = theme.Hover
end)
close.MouseLeave:Connect(function()
close.BackgroundColor3 = theme.Button
end)
close.Activated:Connect(closePopup)
local dragging = false
local dragStart, startPosition, touchInput
dragHandle.InputBegan:Connect(function(input)
local kind = input.UserInputType
if kind ~= Enum.UserInputType.MouseButton1 and kind ~= Enum.UserInputType.Touch then return end
dragging = true
dragStart = input.Position
startPosition = panel.Position
touchInput = kind == Enum.UserInputType.Touch and input or nil
end)
popupConnect(UIS.InputChanged, function(input)
if not dragging or not panel.Parent then return end
if input.UserInputType ~= Enum.UserInputType.MouseMovement and input ~= touchInput then return end
local viewport = workspace.CurrentCamera and workspace.CurrentCamera.ViewportSize
if not viewport then return end
local delta = input.Position - dragStart
local hw, hh = panel.AbsoluteSize.X * .5, panel.AbsoluteSize.Y * .5
local x = viewport.X * startPosition.X.Scale + startPosition.X.Offset + delta.X
local y = viewport.Y * startPosition.Y.Scale + startPosition.Y.Offset + delta.Y
panel.Position = UDim2.fromOffset(
math.clamp(x, math.min(panel.AbsoluteSize.X + 8, viewport.X * .5), math.max(panel.AbsoluteSize.X + 8, viewport.X - 8)),
math.clamp(y, math.min(hh + 8, viewport.Y * .5), math.max(viewport.Y - hh - 8, viewport.Y * .5))
)
end)
popupConnect(UIS.InputEnded, function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input == touchInput then
dragging = false
touchInput = nil
end
end)
label(panel, "OPEN-SOURCE SCRIPTS", 15, 59, 220, 14, 10, theme.Faint, Enum.Font.GothamBold)
for i, name in ipairs({"Blox Fruits", "Steal An Egg", "Murder Mystery 2", "RIVALS", "Fisch", "Shoot Animals", "Pet Simulator 99"}) do
local row = make("Frame", {
Position = UDim2.fromOffset(15, 79 + (i - 1) * 33),
Size = UDim2.new(1, -30, 0, 29),
BackgroundColor3 = theme.Card,
BorderSizePixel = 0
}, panel)
round(row, 3)
outline(row, theme.Border, .27)
label(row, name, 13, 0, 285, 29, 12, theme.Text, Enum.Font.GothamMedium)
end
label(panel, "discord.gg/axonic", 15, 316, 180, 13, 10, theme.Muted)
local copy = make("TextButton", {
Position = UDim2.fromOffset(15, 336),
Size = UDim2.new(1, -30, 0, 28),
BackgroundColor3 = theme.Button,
BorderSizePixel = 0,
Text = "COPY DISCORD",
TextSize = 11,
TextColor3 = theme.Text,
Font = Enum.Font.GothamMedium,
AutoButtonColor = false
}, panel)
round(copy, 4)
outline(copy, theme.BorderBright, .3)
copy.MouseEnter:Connect(function()
copy.BackgroundColor3 = theme.Hover
end)
copy.MouseLeave:Connect(function()
copy.BackgroundColor3 = theme.Button
end)
copy.Activated:Connect(function()
local clipboard = setclipboard or toclipboard
local copied = type(clipboard) == "function" and pcall(clipboard, "https://discord.gg/axonic")
copy.Text = copied and "COPIED" or "discord.gg/axonic"
end)
local lastViewport
local function fit()
local camera = workspace.CurrentCamera
local viewport = camera and camera.ViewportSize
if not viewport or viewport == lastViewport then return end
lastViewport = viewport
scale.Scale = startupScale(viewport)
if not dragging then
panel.Position = UDim2.new(1, -14, .5, 0)
end
end
fit()
popupConnect(RunService.RenderStepped, function()
if gui.Parent then fit() end
end)
end
local function hubPopup()
local parent = LocalPlayer:WaitForChild("PlayerGui")
local old = parent:FindFirstChild("AxonicHubPromo")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "AxonicHubPromo"
gui.ResetOnSpawn = false
gui.DisplayOrder = 101
gui.Parent = parent
HubGui = gui
local panel = make("Frame", {
AnchorPoint = Vector2.new(1, 1),
Position = UDim2.new(1, -14, 1, -14),
Size = UDim2.new(1, -28, 0, 108),
BackgroundColor3 = Color3.fromRGB(13, 13, 15),
BorderSizePixel = 0
}, gui)
make("UICorner", {CornerRadius = UDim.new(0, 7)}, panel)
make("UIStroke", {Color = Color3.fromRGB(64, 66, 75), Transparency = .34}, panel)
make("UISizeConstraint", {MaxSize = Vector2.new(264, 108)}, panel)
make("TextLabel", {
Position = UDim2.fromOffset(12, 8),
Size = UDim2.new(1, -48, 0, 21),
BackgroundTransparency = 1,
Text = "Try Axonic Hub",
Font = Enum.Font.GothamBold,
TextSize = 14,
TextColor3 = Color3.fromRGB(242, 243, 246),
TextXAlignment = Enum.TextXAlignment.Left
}, panel)
make("TextLabel", {
Position = UDim2.fromOffset(12, 31),
Size = UDim2.new(1, -24, 0, 26),
BackgroundTransparency = 1,
Text = "Get access to more features.",
Font = Enum.Font.Gotham,
TextSize = 11,
TextColor3 = Color3.fromRGB(156, 158, 167),
TextXAlignment = Enum.TextXAlignment.Left
}, panel)
local close = make("TextButton", {
Position = UDim2.new(1, -35, 0, 8),
Size = UDim2.fromOffset(25, 25),
BackgroundColor3 = Color3.fromRGB(22, 22, 26),
BorderSizePixel = 0,
Text = "脳",
Font = Enum.Font.GothamMedium,
TextSize = 15,
TextColor3 = Color3.fromRGB(156, 158, 167),
AutoButtonColor = false
}, panel)
make("UICorner", {CornerRadius = UDim.new(0, 3)}, close)
close.Activated:Connect(function()
gui:Destroy()
if HubGui == gui then HubGui = nil end
end)
local load = make("TextButton", {
Position = UDim2.fromOffset(12, 66),
Size = UDim2.new(1, -24, 0, 30),
BackgroundColor3 = Color3.fromRGB(22, 22, 26),
BorderSizePixel = 0,
Text = "Load Script",
Font = Enum.Font.GothamMedium,
TextSize = 12,
TextColor3 = Color3.fromRGB(242, 243, 246),
AutoButtonColor = false
}, panel)
make("UICorner", {CornerRadius = UDim.new(0, 4)}, load)
make("UIStroke", {Color = Color3.fromRGB(64, 66, 75), Transparency = .3}, load)
load.MouseEnter:Connect(function()
load.BackgroundColor3 = Color3.fromRGB(29, 30, 35)
end)
load.MouseLeave:Connect(function()
load.BackgroundColor3 = Color3.fromRGB(22, 22, 26)
end)
local loading = false
load.Activated:Connect(function()
if loading then return end
loading = true
load.Text = "Loading..."
local ok, loader = pcall(function()
return assert(loadstring(game:HttpGet("https://raw.githubusercontent.com/Kenniel123/AxonicHubLoader/refs/heads/main/AxonicHubLoader")))
end)
if not ok then
loading = false
if gui.Parent then load.Text = "Failed - Retry" end
warn("[Axonic] Loader failed:", loader)
return
end
if not gui.Parent then return end
if type(env.AxonicPetSim99OpenCleanup) == "function" then
env.AxonicPetSim99OpenCleanup()
end
local success, err = pcall(loader)
if not success then warn("[Axonic] Hub failed:", err) end
end)
end
local function decodeArtwork(value)
local alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
local lookup = {}
for i = 1, #alphabet do lookup[alphabet:sub(i,i)] = i - 1 end
value = value:gsub("%s", "")
local chunks = table.create(math.ceil(#value / 4))
for i = 1, #value, 4 do
local a,b,c,d = value:sub(i,i),value:sub(i+1,i+1),value:sub(i+2,i+2),value:sub(i+3,i+3)
local n = lookup[a]*262144 + lookup[b]*4096 + (lookup[c] or 0)*64 + (lookup[d] or 0)
local x,y,z = math.floor(n/65536)%256, math.floor(n/256)%256,n%256
chunks[#chunks+1] = c == "=" and string.char(x) or d == "=" and string.char(x,y) or string.char(x,y,z)
end
return table.concat(chunks)
end
local artworkUrl = "https://raw.githubusercontent.com/Kenniel123/Hammer-Bound-Photo/refs/heads/main/Hammer%20Bound%20Photo"
local function showHammerBoundArtwork(image)
local fetched, payload = pcall(game.HttpGet, game, artworkUrl)
if not fetched or type(payload) ~= "string" then
return false
end
payload = payload:gsub("\r", "")
local pngData, pixelData = payload:match("^(.-)\n%-%-PIXELS%-%-\n(.*)$")
if not pngData or not pixelData or not image.Parent then
return false
end
local asset = getcustomasset or getsynasset
if type(asset) == "function" and type(writefile) == "function" then
local ok, uri = pcall(function()
local name = "Axonic_HammerBound_Christmas.png"
local bytes = decodeArtwork(pngData)
assert(bytes:sub(1,8) == "\137PNG\r\n\26\n", "Invalid PNG data")
writefile(name, bytes)
return asset(name)
end)
if ok and type(uri) == "string" and uri ~= "" and image.Parent then
image.Image = uri
return true
end
end
if not image.Parent then return false end
local editable
local ok = pcall(function()
local data = decodeArtwork(pixelData)
assert(#data == 768 + 320*180, "Invalid pixel data")
editable = game:GetService("AssetService"):CreateEditableImage({Size = Vector2.new(320,180)})
assert(editable, "EditableImage unavailable")
local pixels = buffer.create(320*180*4)
for i=0,320*180-1 do
local color = data:byte(769+i)*3+1
local r,g,b = data:byte(color,color+2)
buffer.writeu32(pixels,i*4,r+g*256+b*65536+4278190080)
end
editable:WritePixelsBuffer(Vector2.zero, Vector2.new(320,180), pixels)
assert(image.Parent, "Popup closed")
image.ImageContent = Content.fromObject(editable)
end)
if ok then
image.Destroying:Connect(function() if editable then editable:Destroy() end end)
return true
end
if editable then pcall(function() editable:Destroy() end) end
return false
end
local function gamePopup()
local pg=LocalPlayer:WaitForChild("PlayerGui")
local old=pg:FindFirstChild("AxonicHammerBoundPromo")
if old then old:Destroy() end
local gui=make("ScreenGui",{Name="AxonicHammerBoundPromo",ResetOnSpawn=false,DisplayOrder=103,IgnoreGuiInset=true},pg)
GameGui=gui
local width,height=474,232
local panel=make("Frame",{
AnchorPoint=Vector2.new(.5,.5),
Position=UDim2.fromScale(.5,.5),
Size=UDim2.fromOffset(width,height),
BackgroundColor3=theme.Window,
BorderSizePixel=0,
ClipsDescendants=true
},gui)
round(panel,7)
outline(panel,theme.BorderBright)
local scale=make("UIScale",{Scale=1},panel)
local header=make("Frame",{Size=UDim2.new(1,0,0,49),BackgroundColor3=theme.Header,BorderSizePixel=0},panel)
round(header,7)
make("Frame",{Position=UDim2.fromOffset(0,7),Size=UDim2.new(1,0,1,-7),BackgroundColor3=theme.Header,BorderSizePixel=0},header)
make("Frame",{Position=UDim2.new(0,0,1,-1),Size=UDim2.new(1,0,0,1),BackgroundColor3=theme.Border,BorderSizePixel=0},header)
label(header,"Play my Roblox game!",15,6,250,20,15,theme.Text,Enum.Font.GothamBold)
label(header,"Hammer Bound / Christmas Update / 16+",15,26,340,13,10,theme.Muted)
local close=make("TextButton",{Position=UDim2.new(1,-40,0,11),Size=UDim2.fromOffset(27,27),BackgroundColor3=theme.Button,BorderSizePixel=0,Text="脳",TextColor3=theme.Muted,TextSize=15,Font=Enum.Font.GothamMedium,AutoButtonColor=false},header)
round(close,3)
outline(close,theme.Border,.3)
close.MouseEnter:Connect(function() close.BackgroundColor3=theme.Hover end)
close.MouseLeave:Connect(function() close.BackgroundColor3=theme.Button end)
close.Activated:Connect(function() gui:Destroy(); GameGui=nil end)
local iconCard=make("Frame",{Position=UDim2.fromOffset(15,73),Size=UDim2.fromOffset(186,105),BackgroundColor3=theme.Card,BorderSizePixel=0,ClipsDescendants=true},panel)
round(iconCard,5)
outline(iconCard,theme.Border,.27)
local icon=make("ImageLabel",{Position=UDim2.fromOffset(0,0),Size=UDim2.fromScale(1,1),BackgroundTransparency=1,Image="",ScaleType=Enum.ScaleType.Fit},iconCard)
make("UICorner",{CornerRadius=UDim.new(0,5)},icon)
task.spawn(function()
if not showHammerBoundArtwork(icon) and icon.Parent then
local message=label(iconCard,"Artwork unavailable on this client",8,0,170,105,11,theme.Muted)
message.TextWrapped=true
message.TextXAlignment=Enum.TextXAlignment.Center
end
end)
label(panel,"Hammer Bound",219,68,220,22,16,theme.Text,Enum.Font.GothamBold)
local desc=label(panel,"Fight players with giant hammers, enjoy the Christmas update, and check out the new limited hammer.",219,95,235,50,12,theme.Muted,Enum.Font.Gotham)
desc.TextWrapped=true
desc.TextYAlignment=Enum.TextYAlignment.Top
label(panel,"Support the game and join up if you want to try it out.",219,145,220,18,11,theme.Faint,Enum.Font.Gotham)
local url="https://www.roblox.com/games/90816524951513/Hammer-Bound"
local play=button(panel,"Play Game",219,174,108,32)
local copy=button(panel,"Copy Link",334,174,108,32)
local busy=false
play.Activated:Connect(function()
if busy then return end
busy=true
play.Text="Joining..."
local ok=pcall(TeleportService.Teleport, TeleportService, 90816524951513, LocalPlayer)
if not ok then
play.Text="Try Again"
busy=false
else
task.delay(8,function()
if play.Parent then
play.Text="Play Game"
busy=false
end
end)
end
end)
copy.Activated:Connect(function()
local fn=setclipboard or toclipboard
if type(fn)=="function" and pcall(fn,url) then
copy.Text="Copied"
task.delay(1.2,function() if copy.Parent then copy.Text="Copy Link" end end)
else
copy.Text="Unavailable"
task.delay(1.2,function() if copy.Parent then copy.Text="Copy Link" end end)
end
end)
local previous
local function fit()
local v=workspace.CurrentCamera and workspace.CurrentCamera.ViewportSize
if not v or v==previous then return end
previous=v
scale.Scale=startupScale(v)
end
fit()
connect(RunService.RenderStepped,function() if gui.Parent then fit() end end)
end
Env.AxonicPetSim99OpenCleanup=function()
if Env.AxonicPetSim99AutomationRunId~=automation.RunId then return end
Env.AxonicPetSim99AutomationRunId+=1
for field,value in pairs(automation) do if type(value)=="boolean" then automation[field]=false end end
pcall(Area.SetPaused,false); pcall(Area.SetEnabled,false)
if activeHatchSignature then pcall(stopAutoHatching) end
for _,c in ipairs(Connections) do c:Disconnect() end
table.clear(Connections)
if ClosePopup then pcall(ClosePopup) end
for _,gui in pairs({MainGui,HubGui,GameGui}) do if gui and gui.Parent then gui:Destroy() end end
Env.AxonicPetSim99OpenCleanup=nil
end
mainWindow()
for _, createPopup in ipairs({popup, hubPopup, gamePopup}) do
local ok, err = pcall(createPopup)
if not ok then warn(err) end
end
startAutomationLoop("AutoTapBreakables", 0.14, function()
if automation.RankHatching or automation.AutoHatchBestEgg or automation.FlagPlacing
or automation.UpgradeMovement or automation.EventMovement then return end
local zoneId = MapCmds.GetCurrentZone()
local breakable = getNearestBreakable(zoneId)
if breakable then
BreakableCmds.Tap(breakable)
end
end)
startAutomationLoop("ClaimRankRewards", 4, claimRankRewards)
startAutomationLoop("AutoRank", 0.8, doAutoRank)
startAutomationLoop("ClaimFreeGifts", 10, claimFreeGifts)
startAutomationLoop("AutoUltimate", 5, activateUltimate)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: discord.gg, raw.githubusercontent.com, www.roblox.com.
Stay safe
Never paste your .ROBLOSECURITY cookie anywhere, and use an alt account with scripts.

Universal