Navigation

    CCBlueX Forum

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

    Solved Help with if statement

    ScriptAPI
    3
    6
    49
    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.
    • whym
      whym last edited by

      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!

      stolen nft Plumer Man 2 Replies Last reply Reply Quote 0
      • stolen nft
        stolen nft last edited by stolen nft

        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

        1 Reply Last reply Reply Quote 0
        • stolen nft
          stolen nft @whym last edited by

          @whym Which anticheat?

          whym 1 Reply Last reply Reply Quote 0
          • stolen nft
            stolen nft last edited by stolen nft

            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

            1 Reply Last reply Reply Quote 0
            • whym
              whym @stolen nft last edited by whym

              @ali00035 AAC4, also Im learing js right now. Ive been infrequent learning it tho

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as solved  whym whym 
              • Plumer Man
                Plumer Man @whym last edited by Plumer Man

                if(mc.thePlayer.hurtTime == 9) mc.thePlayer.swing();
                

                btw im aware this dosent attack but only swings

                whym 1 Reply Last reply Reply Quote 0
                • whym
                  whym @Plumer Man last edited by

                  @plumer-man thank you!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post