/herobrine! its a command that makes you invincible for 7.5 sec, and spawns herobrine on your location,(invincible, i don´t like it to be instant-killed by herobrine!)and then starts hunting people! Awsome!
special thanks to Dzienny, for helping me with the command (that you only can use the command if the command is not in action)
- Code: Select all
// Made by: joppiesaus! Thanks to Dzienny for helping me with this command!
using System;
using System.Threading;
using System.IO;
namespace MCDzienny
{
public class CmdHerobrine : Command
{
volatile bool isHerobrineSpawned = false;
public override string name { get { return "herobrine"; } }
public override string shortcut { get { return ""; } }
public override string type { get { return "other"; } }
public override bool museumUsable { get { return false; } }
public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
public override void Use(Player p, string message)
{
if (isHerobrineSpawned)
{
Player.SendMessage(p, "Herobrine is already spawned.");
return;
}
isHerobrineSpawned = true;
Player.GlobalMessage("%4 m i´ omngic rfo oyu ");
Thread.Sleep(1000);
Player.GlobalMessage("%4oyu illw eb deda");
Thread.Sleep(1000);
Player.GlobalMessage("%4oyu illw verne tge em!");
Command.all.Find("invincible").Use(p, "");
Thread.Sleep(2000);
Command.all.Find("botadd").Use(p, "Herobrine");
Thread.Sleep(50);
Command.all.Find("botset").Use(p, "Herobrine hunt");
Command.all.Find("botset").Use(p, "Herobrine kill");
Thread.Sleep(7900);
Command.all.Find("invincible").Use(p, "");
Thread.Sleep(120000);
Command.all.Find("botremove").Use(p, "all");
isHerobrineSpawned = false;
// Botremove all because herobrine is weird, and he must despawn!
}
public override void Help(Player p)
{
Player.SendMessage(p, "/herobrine oyu iwll eb deda!");
}
}
}
it´s fully tested so it should work.
have fun! [happy halloween!]