CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    [SCRIPT] KillSults

    Scripts
    5
    15
    1247
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gabriel last edited by Gabriel

      Introduction

      KillSults are a script for insulting everyone you kill.
      This script is made for redesky, even tho it works on other servers, it also sometimes messages the players you kill, asking their cheat.

      How to use the code

      Just make a .txt file, name it to whatever you want, but change the .txt to .js and copy the code, done!

      Credits

      • qwq Liulihaocai for making the script originally (https://forums.ccbluex.net/user/qwq-liulihaocai)
      • skidma for fixing the script (https://forums.ccbluex.net/user/skidma)

      Code

      var target;
      var EntityPlayer = Java.type('net.minecraft.entity.player.EntityPlayer');
      var RedeskyWords = [
          "/tell %name% What client? To respond do /r (message)",
          "Config issue %name%",
          "Vai foder te para o caralho %name%",
          "Increve-se ao 'Coccocoa's Helper' no youtube",
          "Vai te foder %name%",
          "O anticheat melhor, AAC",
          "Vips fodem penis.",
          "Servidor lixo, vai foder vc mesmo.",
          "Don't use j75's config. Use mine! Sub me on yt, Coccocoa's Helper.",
          "Win every HvH with my new config! Get on my channel, Coccocoa's Helper.",
          "Você tem de pegar um hack, eu recommendo o liquidbounce.net",
          "Servidor de lx cheio de vips.",
          "Você é um resto de aborto %name%"
      ]
      var script = registerScript({
      	name: "KillSults",
      	version: "1.0",
      	authors: ["Gabriel"]
      });
      script.registerModule({
      	name: "KillSults",
      	description: "Insults people when you kill them.",
          category: "Misc",
      	settings: {
      		Mode: Setting.list({
      			name: "Mode",
      			default: "Redesky",
      			values: ["L", "Redesky"]
      		}),
      	}
      }, function (module) {
      	module.on("enable", function () {
      		target = null;
          })
      	module.on("attack", function (event) {
      		if (event.getTargetEntity() instanceof EntityPlayer) {
      			target = event.getTargetEntity();
      		}
          })
      	module.on("update", function () {
              module.tag = module.settings.Mode.get();
              if (target != null) {
                  if (target.isDead) {
                      switch (module.settings.Mode.get()) {
                          case "L":
                              mc.thePlayer.sendChatMessage("L " + target.getName());
                              break;
                          case "Redesky":
                              mc.thePlayer.sendChatMessage(RedeskyWords[parseInt(Math.random() * RedeskyWords.length)].replace(/%name%/, target.getName()));
                              break;
                      }
                      target = null;
                  }
              }
          })
      })
      
      
      A 1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        this is the worst killsults ever

        G 1 Reply Last reply Reply Quote 0
        • A
          Aftery @Gabriel last edited by

          @gabriel "Don't use j75's config. Use mine! Sub me on yt, Coccocoa's Helper.",
          dabs on this thread

          G 1 Reply Last reply Reply Quote 0
          • G
            Gabriel @Guest last edited by

            @sigma-allah you can change the killsults messages.

            ? 1 Reply Last reply Reply Quote 0
            • G
              Gabriel @Aftery last edited by

              @aftery You can change that lol

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Gabriel last edited by

                @gabriel said in [SCRIPT] KillSults:

                @sigma-allah you can change the killsults messages.

                i have 1 iq not 0 iq man you don't need to say that

                G 1 Reply Last reply Reply Quote 0
                • G
                  Gabriel @Guest last edited by

                  @sigma-allah I know, just saying

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @Gabriel last edited by

                    @Gabriel make a killsults script that can change the message is like eating a cake bruh

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      Gabriel @Guest last edited by

                      @sigma-allah Not that, changing the messages in the CODE of the script is even easier.

                      1 Reply Last reply Reply Quote 0
                      • A
                        Aftery last edited by

                        changing the messages by not hardcoding
                        oh wait you cant code

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User last edited by

                          chrome_seoQK1D6lc.png

                          how tf can you get errors while making this

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            Gabriel @Guest last edited by

                            @sigma-allah It was a error by the script maker, the killsults didnt show up at all, i did not even see the SCRIPT showing up in script manager

                            1 Reply Last reply Reply Quote 0
                            • SkidmaLover
                              SkidmaLover last edited by

                              The script dosen't work (no message)

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                Gabriel @SkidmaLover last edited by

                                @skidmalover Show me a video of it.

                                1 Reply Last reply Reply Quote 0
                                • Joe Papa
                                  Joe Papa last edited by

                                  wont work for me

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  About
                                  • Terms of Service
                                  • Privacy Policy
                                  • Status
                                  • Contact Us
                                  Downloads
                                  • Releases
                                  • Source code
                                  • License
                                  Docs
                                  • Tutorials
                                  • CustomHUD
                                  • AutoSettings
                                  • ScriptAPI
                                  Community
                                  • Forum
                                  • Guilded
                                  • YouTube
                                  • Twitter
                                  • D.Tube