
Keyless

local Player = game.Players.LocalPlayer
-- Hitbox Settings
local BossHitbox = {
Size = {Width = 600, Height = 600, Depth = 600},
Color = Color3.fromRGB(255, 0, 0),
Transparency = 0.9,
Material = Enum.Material.Plastic
}
local MinionHitbox = {
Size = {Width = 600, Height = 600, Depth = 600},
Color = Color3.fromRGB(0, 255, 0),
Transparency = 0.9,
Material = Enum.Material.Neon
}
local firstBossName = nil
-- Unlimited Energy Function (Fixed)
local function infiniteEnergy()
while true do
-- Use Player.Energy like in the example script
if game.Players.LocalPlayer:FindFirstChild("Energy") then
game.Players.LocalPlayer.Energy.Value = math.huge
end
task.wait(0.1)
end
end
-- Create Hitbox Function
local function createHitbox(target, settings)
if not target:FindFirstChild("HumanoidRootPart") then return end
for _, part in pairs(target:GetChildren()) do
if part.Name == "CustomHitbox" then
part:Destroy()
end
end
local hitbox = Instance.new("Part")
hitbox.Name = "CustomHitbox"
hitbox.Size = Vector3.new(settings.Size.Width, settings.Size.Height, settings.Size.Depth)
hitbox.Transparency = settings.Transparency
hitbox.Color = settings.Color
hitbox.Material = settings.Material
hitbox.CanCollide = false
hitbox.Anchored = true
hitbox.CFrame = target.HumanoidRootPart.CFrame
hitbox.Parent = target
spawn(function()
while hitbox and hitbox.Parent and target.Parent do
hitbox.CFrame = target.HumanoidRootPart.CFrame
task.wait(0.1)
end
if hitbox then hitbox:Destroy() end
end)
end
-- Check Boss Function
local function checkBoss(enemy)
if not firstBossName then
if enemy.Name ~= "Training Dummy" then
firstBossName = enemy.Name
print("🎯 Found first boss: "..firstBossName)
return true
end
return false
end
return enemy.Name == firstBossName
end
-- Create Hitboxes for All Enemies
local function createAllHitboxes()
while true do
if firstBossName then
local bossExists = false
for _, enemy in pairs(workspace.Characters.Enemies:GetChildren()) do
if enemy.Name == firstBossName then
bossExists = true
break
end
end
if not bossExists then
firstBossName = nil
end
end
for _, enemy in pairs(workspace.Characters.Enemies:GetChildren()) do
if enemy:FindFirstChild("HumanoidRootPart") then
if checkBoss(enemy) then
createHitbox(enemy, BossHitbox)
else
createHitbox(enemy, MinionHitbox)
end
end
end
task.wait(1)
end
end
-- Start Everything
spawn(infiniteEnergy)
spawn(createAllHitboxes)
print("✅ Script started successfully!")
print("⚡ Unlimited energy (working!)")
Oh, it doesn't work? Sorry, I'll fix it for you.
I've fixed it completely. Hope it works now
Add auto farm or kill aura maybe and it be good
@tharver357 The boss cannot be killed instantly because the server controls its HP, damage reduction, and skill cooldowns. We can only send attack commands from the client, but the server decides how much damage the boss actually takes
Oh, sorry. I don't have much knowledge about scripting and I don't have the tools because I play on mobile. Therefore, I can only write simple scripts for now.
Then I'll give it a try, if it works then that's great.
I’m not sure if it will work, and my English isn’t very strong. I’m from Thailand
The answer I sent comes from an AI and has been adjusted to read as clearly as possible.
คุณสามารถสร้างสคริปต์สำหรับ AI ได้ไหม? [ฉันลบความคิดเห็นล่าสุดของฉันไปแล้ว ถ้าคุณจำได้]
How do I script on mobile?
@djkren The first thing I use when scripting on mobile is GPT. It really helps, especially if you know some info about the game you’re scripting for. Also, checking the F9 console is super useful while testing. You can ask GPT to generate or fix scripts for you (like UI design, features, or bug fixes), though it might have more errors compared to writing code manually. And yeah, the UI it makes sometimes looks a bit rough.
does it work?
Ok thanks man
add inf hp
@dogmanj0010 I tried to keep my health from dropping, but I couldn’t do it. Even though we can see that our health isn’t decreasing, we still die anyway.
aw man :(
can you add fly?
@dogmanj0010 Good news: fly works! Bad news: you drop dead a few seconds after lifting off.
why? does the game know?
add speed or something to help cus cfw is to hard