Help with if statement
-
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
-
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
-
W whym has marked this topic as solved on
-
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!
if(mc.thePlayer.hurtTime == 9) mc.thePlayer.swing();btw im aware this dosent attack but only swings
-
if(mc.thePlayer.hurtTime == 9) mc.thePlayer.swing();btw im aware this dosent attack but only swings
@plumer-man thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login