@ali00035 no..........
kumri owo
Posts
-
Problem With Script5 Aug 2022, 00:27 -
Problem With Script5 Aug 2022, 00:17@ali00035 It said It successfully loaded the script, but I already knew that
-
Problem With Script5 Aug 2022, 00:21@ali00035 its ok, Its a problem with the code
-
Problem With Script5 Aug 2022, 00:25@ali00035 can you show me the code, because I cant quite understand what you mean by "The Correct Way Is Just Math.Floor"
-
Problem With Script5 Aug 2022, 00:30@ali00035 It works Thank You, I cant believe such a simple mistake cost me that much time!
-
Problem With Script5 Aug 2022, 00:51@ali00035 One More Question The Server This Is For (minemora) Has a zombie that for some reason the kill player is the zombie, Is there a way to check if the entity is not a zombie?
-
Problem With Script5 Aug 2022, 18:38@ali00035 ? What Is Wrong About It?
-
Problem With Script4 Aug 2022, 22:39So, Im Trying To Make A Script That Insults People When You Kill Them, Heres My Code:
/// api_version=2 var target; var EntityPlayer = Java.type('net.minecraft.entity.player.EntityPlayer'); var RedeskyWords = [ "Oops, Sorry %name% My Config Is To Good", "Sorry %name% I Guess Im Just To Good", "Im not Hacking %name% I Just Have A Good Gaming Chair", "Next Time, %name% Think Twice Before Going Up Against Me", "Sorry %name%, JK", "Why All Of The Players, Including %name%, Are so bad?", "Want A I Chance Against Me? - https://www.youtube.com/watch?v=dQw4w9WgXcQ", "Your Welcome %name%", "Want To Also Hack Like This? - https://www.youtube.com/watch?v=dQw4w9WgXcQ", "Better Luck Next Time %name% (:", "I Give You My Uwu %name%", "Oops I Barely Tried On That One", "Sorry Can't Do Anything About The Kill %name%, But I Can Give You A UwU", "%name% At Least Pretend To Try Next Time" ]; var script = registerScript({ name: "Kill Insults", version: "1.0.0", authors: ["CutieHacker"] }); script.registerModule({ name: "KillInsults", category: "Misc", description: "Insults people when you kill them" }, function (module) { module.on("enable", function() { target = null; }); module.on("attack", function(event) { target = event.getTargetEntity(); if(target != null) { if (target.isDead) { mc.thePlayer.sendChatMessage(RedeskyWords[Math.Floor(Math.random() * (RedeskyWords.length+1))].replace("%name%", target.getName())); target = null; } } }); });
But The Script Seems To Not Work, I Have No Idea Why, It Shows Up In The Scripts But Upon Enabling The Moudle, It Does Nothing.
I've Been Trying To Make It Work For Hours Now If Anybody Can Help Me I Will Appreciate It!
-
Problem With Script4 Aug 2022, 23:34@ali00035 Im new too scripting, where is the console located?
-
Problem With Script5 Aug 2022, 00:03@ali00035 And Where Is The Console (Im Sorry, I Just Have Really No Idea How To Do Stuff Like That)
-
Problem With Script5 Aug 2022, 00:30@ali00035 thanks!
-
Problem With Script5 Aug 2022, 19:03@ali00035 oh I thought It was like a error
-
Problem With Script5 Aug 2022, 00:23@ali00035 What about math.floor? I am using that already in the script
-
Problem With Script5 Aug 2022, 00:53@cutiehacker I tired if(target.getname != "Zombie") but that did not seem to work
-
Problem With Script6 Aug 2022, 03:39@aftery ?
-
How to Make a Custom Build21 Aug 2022, 14:26@lol_-i_know_that_you_see_this ok I got it working thanks!
-
How to Make a Custom Build21 Aug 2022, 05:59So I have my custom build files, and I need to know how to make it a .jar file
Any help will be appreciated!