06:27 PM 09/07/2020
Script:
//Normal zombies
let NormalZombie = new Bot("Normal Zombie")
let outfit = new Outfit(NormalZombie)
.body("#0d9436")
.torso("#694813")
.rightLeg("#694813")
.leftLeg("#694813")
async function spawner() {
while (true) {
Game.newBot(NormalZombie)
await sleep(15000)
}
spawner()
zombie.setInterval(() => {
let target = NormalZombie.findClosestPlayer(50)
if (!target) return
NormalZombie.moveTowardsPlayer(target, 10)
}, 10)
let touchEvent = NormalZombie.touching((p) => {
Game.messageAll(
p.kill()
})
//bot limits
if (world.bots.length > 10) {
Bot.destroy()
}
//Normal zombies
let NormalZombie = new Bot("Normal Zombie")
let outfit = new Outfit(NormalZombie)
.body("#0d9436")
.torso("#694813")
.rightLeg("#694813")
.leftLeg("#694813")
async function spawner() {
while (true) {
Game.newBot(NormalZombie)
await sleep(15000)
}
spawner()
zombie.setInterval(() => {
let target = NormalZombie.findClosestPlayer(50)
if (!target) return
NormalZombie.moveTowardsPlayer(target, 10)
}, 10)
let touchEvent = NormalZombie.touching((p) => {
Game.messageAll(
[#ff0000]${p.username} was eaten by a zombie!
)p.kill()
})
//bot limits
if (world.bots.length > 10) {
Bot.destroy()
}
06:28 PM 09/07/2020
Contact SmartLion, he'll help you.
06:28 PM 09/07/2020
I don't know much about scripting maybe an error
06:29 PM 09/07/2020
smart lion is afk