Вводите текст, включаете что нужно, после он сам бегает по анкам и спамит текстом. package im.expensive.functions.impl.player; import com.google.common.eventbus.Subscribe; import im.expensive.events.EventUpdate; import im.expensive.functions.api.Category; import im.expensive.functions.api.Function; import im.expensive.functions.api.FunctionRegister; import im.expensive.functions.settings.Setting; import im.expensive.functions.settings.impl.BooleanSetting; import im.expensive.functions.settings.impl.StringSetting; import im.expensive.utils.client.TimerUtil; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.Random; import java.util.Set; import net.minecraft.client.network.play.NetworkPlayerInfo; @FunctionRegister( name = "AnarchySpam", type = Category.Player ) public class AnarchySpam extends Function { private final StringSetting msgtosend = new StringSetting("Сообщение", "текст", "Введите сообщение для флуда"); private final BooleanSetting aspambypass = new BooleanSetting("Обход антиспама", false); private final BooleanSetting staffprovirka = new BooleanSetting("Проверка на стафф", false); private static final Set<String> Staffs = new HashSet(Arrays.asList("artem_pawlow", "yaBIG_PIG", "leon4ik1265", "M0Rell", "ItsLaMeNo228", "XrABroStb", "Wasted", "Rnzai101", "d3s1rr", "Xinero", "shift1K", "catwithcider", "ferdiguns", "elvawix", "pakucon", "Dangerwan", "AaseKasse", "kotwithcookie", "5ivkola", "qartem_pawlow", "yaBIG_PIG", "leon4ik1265", "M0Rell", "ItsLaMeNo228", "XrABroStb", "Wasted", "Rnzai101", "Xinero", "shift1K", "catwithcider", "ferdiguns", "elvawix", "pakucon", "Dangerwan", "AaseKasse", "kotwithcookie", "5ivkola", "qqlone", "yaPankYaLegenda", "killaura46", "HedRed2008", "sovipis213", "Kuratev", "DisNaLuk", "Xvostik333", "PoJlToH_v_KeDaX", "GigabyteTop001", "stasikpid228", "Prepo_Tar", "DestroyeBoy", "ShulkerMe", "Sinex87", "catwithwine", "FrostyKKKKKKk", "_Holgan", "Alisa_Lisna", "Stringers", "Shadow_Divine", "qwertyrrr", "bublikbesplatno", "teckstyra", "olegun", "Nesquik213", "hot_chick_", "nevepsycho", "Fen1x_b1b0", "Homechok", "Evgeny6780", "freylik", "axcu32", "1Viad", "Ecstacy_level", "216mypeek", "KotBac9", "Glebik_Viz", "lastocha_zxc", "Clinkz", "Noghtalit", "ckyka0_0", "stalin_vozhd", "hi1kz0", "ThunderShadow", "4y4kek", "Raudov_", "Laossium", "Da1mon_666", "DelsHearTache", "Drase", "WhiteMan4990", "shardov", "Bakkap", "MANDA_R1NKA", "Jeson", "rabai", "Tukich_bavalo", "NE_MANZARIUS", "faquesty", "itstik66", "leozart228", "TBo9I_PaDoSTb", "MercyIzReal", "catwithbeer", "tequesty", "Black_Star_Girl", "Fr1znt", "Bayerfn", "TesTar1254", "Dinar1001", "Apollons", "YALAMA", "ArtCombo", "siinta", "BuHoBHuK_", "qveezer_", "Hadzaki", "Mavgr1758", "kiselb312123", "milkimas", "Rape_seRies", "TheJustice", "Ya_He_power", "FacelessEgoist", "ThunderRoses", "_MoonM1ce", "Gesichtslos", "Capitello", "DenekelYT", "Tinkers", "bone1nis", "FeelingHollow_", "ucTePuka", "Keldif", "Kuratev", "Da1mon666", "Fen1x_b1b0", "Raudov", "5ivkola", "Psycho_what", "GigabyteTop001", "Xinero", "1Valhalla", "Sinex87", "pakucon", "Shadow_Divine", "yaPankYaLegenda", "ferdiguns", "Nesquik213", "Alisa_Lisna", "bublikbesplatno", "killaura46", "Prepo_Tar", "Xvostik333", "DAHR2023", "artem_pawlow", "Laossium", "xerinai", "merlin1601", "teckstyra", "Wasted", "olegun", "qqlone", "sovipis213", "nikita200404", "hi1kz0", "leon4ik1265", "Dangerwan", "Berasd_Master", "stasikpid228", "sienduk123", "Homechok", "DisNaLuk", "Evgeny6780", "DisNaLuk", "Noghtalit", "axcu32", "UZI", "DelsHearTache", "1WantToXyranaz", "hotchick", "krap1wka_ZXC", "pups", "Sinex87", "nikita200404", "sovipis213", "hot_chick_", "PoJlToH_v_KeDaX", "yaPankYaLegenda", "qwertyrrr", "ferdiguns", "Shadow_Divine", "stasikpid228", "_Bedmak", "Homechok", "xerinai", "merlin1601", "krap1wka_ZXC", "5ivkola", "pakucon", "stasikpid228", "Raudov_", "FatherlyLynx331", "ferdiguns", "apathyxdxdxdxd", "Fen1x_b1b0", "KLIKER_22", "merlin1601", "Da1mon_666", "Frostyqeaz", "1Valhalla", "FakeHappinessS", "bublikplatno", "KATYAN", "super_ne_chiter", "KreesTees", "DelsHearTache", "1WantToXyranaz", "krap1wka_zxc", "HepBbl_HoPM", "Iglobruh19", "Temniydar", "PopaBobra19", "Tosterw", "homechok", "Holgan", "pups")); private static final int[] ANARCHY_NUMBERS = new int[]{103, 104, 105, 106, 107, 108, 109, 110, 208, 209, 210, 211, 212, 213, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 503, 504, 505, 506, 507, 508, 509, 510, 602, 603, 604, 605, 606}; private static final int ENTER_ANARCHY_DELAY_MS = 600; private static final int MESSAGE_SEND_DELAY_MS = 340; private static final int FINAL_DELAY_MS = 90; private int currentAnarchyIndex = 0; private TimerUtil timerUtil = new TimerUtil(); private boolean enteringAnarchy = true; private boolean sendingMessage = false; private boolean finalDelay = false; private final Random random = new Random(); public AnarchySpam() { this.addSettings(new Setting[]{this.msgtosend, this.aspambypass, this.staffprovirka}); } @Subscribe public void onUpdate(EventUpdate event) { if (this.enteringAnarchy) { if (this.timerUtil.hasTimeElapsed(600L, true)) { int anarchyNumber = ANARCHY_NUMBERS[this.currentAnarchyIndex]; String chatCommand = "/an" + anarchyNumber; mc.player.sendChatMessage(chatCommand); this.enteringAnarchy = false; this.sendingMessage = true; } } else if (this.sendingMessage) { if ((Boolean)this.staffprovirka.get() && this.isStaffPresent()) { this.resetToNextAnarchy(); } else if (this.timerUtil.hasTimeElapsed(340L, true)) { String messageToSend = (String)this.msgtosend.get(); if ((Boolean)this.aspambypass.get()) { messageToSend = messageToSend + this.getRandomSuffix(); } mc.player.sendChatMessage(messageToSend); this.sendingMessage = false; this.finalDelay = true; } } else if (this.finalDelay && this.timerUtil.hasTimeElapsed(90L, true)) { ++this.currentAnarchyIndex; if (this.currentAnarchyIndex >= ANARCHY_NUMBERS.length) { this.print("Успешно!"); this.toggle(); this.resetState(); } else { this.enteringAnarchy = true; this.finalDelay = false; } } } private boolean isStaffPresent() { Iterator var1 = mc.getConnection().getPlayerInfoMap().iterator(); NetworkPlayerInfo playerInfo; do { if (!var1.hasNext()) { return false; } playerInfo = (NetworkPlayerInfo)var1.next(); } while(!Staffs.contains(playerInfo.getGameProfile().getName())); return true; } private void resetToNextAnarchy() { this.sendingMessage = false; this.finalDelay = true; this.timerUtil.reset(); } private String getRandomSuffix() { StringBuilder suffix = new StringBuilder(); for(int i = 0; i < 4; ++i) { suffix.append((char)(97 + this.random.nextInt(26))); } return suffix.toString(); } public void onEnable() { super.onEnable(); this.resetState(); } public void onDisable() { super.onDisable(); this.resetState(); } private void resetState() { this.currentAnarchyIndex = 0; this.enteringAnarchy = true; this.sendingMessage = false; this.finalDelay = false; } } SS (Тап как на хомячка)