mcBlazes.js (2179B)
1 var br = ""; 2 3 function nameGen() { 4 var nm1 = ["Ash", "Ashe", "Ashes", "Aura", "Aurora", "Bayle", "Beacon", "Beak", "Beam", "Blaize", "Blyze", "Bonfi", "Boyle", "Brilli", "Brim", "Brun", "Cendis", "Cinder", "Cinders", "Claire", "Coale", "Cole", "Crux", "Dawn", "Dazzle", "Elemence", "Ember", "Fenix", "Fernis", "Ferno", "Fervis", "Fiere", "Flair", "Flambeau", "Flare", "Flarion", "Flaris", "Flash", "Flaym", "Flayme", "Fuegis", "Fuego", "Fume", "Fumus", "Fury", "Fusilis", "Fye", "Fyre", "Glint", "Glo", "Gloss", "Glow", "Heat", "Icarus", "Igneos", "Igneous", "Ignis", "Ignit", "Ignite", "Illume", "Illumine", "Incedis", "Incendius", "Inferno", "Infernus", "Kindle", "Kindra", "Lavar", "Lavis", "Lighte", "Lighto", "Lucent", "Lumino", "Luminos", "Lyte", "Magmis", "Nova", "Novis", "Pharos", "Pire", "Pyre", "Pyro", "Pyroc", "Radiance", "Ragnis", "Raise", "Ray", "Raye", "Ryse", "Ryze", "Scald", "Scaldor", "Scaldris", "Scorch", "Scorchey", "Scorchis", "Sear", "Sheen", "Shimmer", "Shine", "Sigmis", "Sizzle", "Smo", "Smoke", "Smoldris", "Smulder", "Soar", "Sol", "Sola", "Solar", "Solaris", "Soleil", "Soot", "Soots", "Spark", "Sparkle", "Sparkles", "Sunbeam", "Sunny", "Surge", "Tempris", "Tinder", "Torch", "Viva", "Volcanis", "Zeal"]; 5 var element = document.createElement("div"); 6 element.setAttribute("id", "result"); 7 nTp = Math.random() * 50 | 0; 8 if (nTp === 0 && first !== 0 && triggered === 0) { 9 nTp = Math.random() * 5 | 0; 10 if (nTp === 0) { 11 creeper(); 12 } else if (nTp < 3) { 13 herobrine(); 14 } else { 15 enderman(); 16 } 17 } else { 18 for (i = 0; i < 10; i++) { 19 rnd = Math.random() * nm1.length | 0; 20 nMs = nm1[rnd]; 21 nm1.splice(rnd, 1); 22 br = document.createElement('br'); 23 element.appendChild(document.createTextNode(nMs)); 24 element.appendChild(br); 25 } 26 first++; 27 if (document.getElementById("result")) { 28 document.getElementById("placeholder").removeChild(document.getElementById("result")); 29 } 30 document.getElementById("placeholder").appendChild(element); 31 } 32 }