Solved Help with if statement
-
I'm trying to make a script where It detects if the player was hit and then the player hits back. I don't really know how to do this but if somebody did that would be great!
-
Also you should learn some more about ScriptAPI to solve your questions yourself, you can take a look at the code of other scripts (look in the old forum or my script pack), learn JavaScript at w3schools.com
-
@whym Which anticheat?
-
Also you should learn some more about ScriptAPI to solve your questions yourself, you can take a look at the code of other scripts (look in the old forum or my script pack), learn JavaScript at w3schools.com
-
@ali00035 AAC4, also Im learing js right now. Ive been infrequent learning it tho
-
whym
-
if(mc.thePlayer.hurtTime == 9) mc.thePlayer.swing();
btw im aware this dosent attack but only swings
-
@plumer-man thank you!