void MoveTowards(PlayerBot bot, Player p) { string msg = bot.DeathMessage; if (msg == null) { msg = "@p %Swas &ccaught."; } p.HandleDeath(Block.Cobblestone, msg); }