var AbilityAttemptTime = 0.1 function damaged(t){ if(t.damageSource.getType() == "lightningBolt")t.setCanceled(true)} function init(t){ t.npc.timers.forceStart(1,AbilityAttemptTime*20,true)} function timer(t){ if(t.id==1){ if(t.npc.isAttacking()){ Lightning(t.npc) }}} function Lightning(npc){ if(!npc.isAttacking())return; var Thread = Java.type("java.lang.Thread"); var HankThread = Java.extend(Thread,{ run: function(){ var ExtraDamage = 54832 //Additional damage dealt by the lightning var distAway = 3 //The distance away from the target the lightning can spawn var Delay = 1 //Ticks before causing the lightning strike after telegraph appears //Get Position and start telegraph var targ = npc.getAttackTarget() var Spot = targ.getPos().add(Math.round(Math.random()*distAway*2)-distAway,0,Math.round(Math.random()*distAway*2)-distAway) npc.swingMainhand() npc.swingMainhand() npc.world.spawnParticle("",npc.x,npc.y+1,npc.z,0.2,0.2,0.2,0.2,55) npc.world.spawnParticle("",npc.x,npc.y+1,npc.z,0.2,0.2,0.2,0.2,55) npc.world.playSoundAt(Spot,"",1,1.4) for(var i = 0; i< Delay; ++i){ if(i%10 == 0)npc.world.spawnParticle("",Spot.getX(),Spot.getY()+0.3,Spot.getZ(),0,0,0,0.1,10) Thread.sleep(50)} //The Lightning Strike npc.world.thunderStrike(Spot.getX(),Spot.getY(),Spot.getZ()) var targs = npc.world.getNearbyEntities(Spot,2,5) for(var t = 0; t
@@Herobrine-10000 he actually want to Say White Explosion Particles and Blue Explosion Potion Particles (appears cause you Select Wither Effect on Projectile)
@@ffwgaming1390 just do for White Particles set NPC's Projectile Can be Explod and Select Wither Effect On Projectile also turn On Potion Particles from Animations Settings and Now you Can get this Effect On npc :)
Long Battle it's Soo Good WOW 😯💜❤
TNKS
@@Herobrine-10000 it's Ok No Problem and it's Same to PollyMine :O
Finel Herobrine Vs notch
m
Good bro I like this
Please Herobrine Vs Blood God Of infinity (:
i already did the video
(:
first, nice bro
Bro please give lightningbolt script(:
dude its in the comment already
Bro how to get song this 1:11
And Herobrine Vs IT'S ME
ok
Pls lighning bolt script
var AbilityAttemptTime = 0.1
function damaged(t){
if(t.damageSource.getType() == "lightningBolt")t.setCanceled(true)}
function init(t){
t.npc.timers.forceStart(1,AbilityAttemptTime*20,true)}
function timer(t){
if(t.id==1){
if(t.npc.isAttacking()){
Lightning(t.npc)
}}}
function Lightning(npc){
if(!npc.isAttacking())return;
var Thread = Java.type("java.lang.Thread");
var HankThread = Java.extend(Thread,{
run: function(){
var ExtraDamage = 54832 //Additional damage dealt by the lightning
var distAway = 3 //The distance away from the target the lightning can spawn
var Delay = 1 //Ticks before causing the lightning strike after telegraph appears
//Get Position and start telegraph
var targ = npc.getAttackTarget()
var Spot = targ.getPos().add(Math.round(Math.random()*distAway*2)-distAway,0,Math.round(Math.random()*distAway*2)-distAway)
npc.swingMainhand()
npc.swingMainhand()
npc.world.spawnParticle("",npc.x,npc.y+1,npc.z,0.2,0.2,0.2,0.2,55)
npc.world.spawnParticle("",npc.x,npc.y+1,npc.z,0.2,0.2,0.2,0.2,55)
npc.world.playSoundAt(Spot,"",1,1.4)
for(var i = 0; i< Delay; ++i){
if(i%10 == 0)npc.world.spawnParticle("",Spot.getX(),Spot.getY()+0.3,Spot.getZ(),0,0,0,0.1,10)
Thread.sleep(50)}
//The Lightning Strike
npc.world.thunderStrike(Spot.getX(),Spot.getY(),Spot.getZ())
var targs = npc.world.getNearbyEntities(Spot,2,5)
for(var t = 0; t
Bro plz give blue particles and white particles Script
this ?var fight = 0;
var cd = 1; //Teleport cooldown (NPC can change target several times during the battle.)
var particle1 = 'dragonbreath';
var particle2 = 'cloud';
var particleHigh = 1.5; //Height of the particle spawn point
function init(e) { // Rolls back cooldown on spawn
fight = 1;
}
function target(e) { //Teleport if the target changes and the target is not null
var c = [0, 0, 0];
var target = e.entity
if (target != null && fight == 1) {
c[0] = target.x;
c[1] = target.y;
c[2] = target.z;
e.npc.world.spawnParticle(particle1, e.npc.x + 0.5, e.npc.y + particleHigh, e.npc.z + 0.5, 0, 0, 0, 0.1, 35);
e.npc.world.spawnParticle(particle2, e.npc.x + 0.5, e.npc.y + particleHigh, e.npc.z + 0.5, 0, 0, 0, 0.1, 35);
e.npc.setPosition(c[0], c[1], c[2]);
e.npc.world.spawnParticle(particle1, e.npc.x + 0.5, e.npc.y + particleHigh, e.npc.z + 0.5, 0, 0, 0, 0.1, 35);
e.npc.world.spawnParticle(particle2, e.npc.x + 0.5, e.npc.y + particleHigh, e.npc.z + 0.5, 0, 0, 0, 0.1, 35);
fight = 0;
e.npc.timers.forceStart(1, cd * 20, false);
}
}
function timer(e) {
if (e.id == 1) {
fight = 1; //Rolls back the cooldown after the timer
}
}
@@Herobrine-10000 he actually want to Say White Explosion Particles and Blue Explosion Potion Particles (appears cause you Select Wither Effect on Projectile)
@@ffwgaming1390 just do for White Particles set NPC's Projectile Can be Explod and Select Wither Effect On Projectile also turn On Potion Particles from Animations Settings and Now you Can get this Effect On npc :)
1:40 messed up