Lightning Bolt
-
val ent = EntityLightningBolt( mc.theWorld, target!!.posX, target!!.posY, target!!.posZ ) val canlightning = when(lightningValue.get().toLowerCase()){ "always" -> true "ondead" -> (target!!.isDead) else -> false } if (canlightning) { if (target != null) { mc.theWorld.addEntityToWorld(-1,ent) mc.thePlayer.playSound("random.explode", 0.5f, 0.5f + kotlin.random.Random.nextFloat() * 0.2f) } }
Plz write it in KillAura
-