Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. ScriptAPI
  3. Problem With Script

Problem With Script

Scheduled Pinned Locked Moved Solved ScriptAPI
32 Posts 4 Posters 14.0k Views 1 Watching
  • 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.
  • kumri owoK kumri owo

    @ali00035 What about math.floor? I am using that already in the script

    Ali00035A Offline
    Ali00035A Offline
    Ali00035
    wrote on last edited by
    #12

    @cutiehacker said in Problem With Script:

    @ali00035 What about math.floor? I am using that already in the script

    The correct way is just Math.floor

    kumri owoK 1 Reply Last reply
    0
    • Ali00035A Ali00035

      @cutiehacker said in Problem With Script:

      @ali00035 What about math.floor? I am using that already in the script

      The correct way is just Math.floor

      kumri owoK Offline
      kumri owoK Offline
      kumri owo
      wrote on last edited by
      #13

      @ali00035 can you show me the code, because I cant quite understand what you mean by "The Correct Way Is Just Math.Floor"

      Ali00035A 1 Reply Last reply
      19
      • kumri owoK kumri owo

        @ali00035 can you show me the code, because I cant quite understand what you mean by "The Correct Way Is Just Math.Floor"

        Ali00035A Offline
        Ali00035A Offline
        Ali00035
        wrote on last edited by
        #14

        @cutiehacker Instead of "Math.Floor" or "math.floor", You just have to type "Math.floor"

        kumri owoK 1 Reply Last reply
        0
        • Ali00035A Ali00035

          @cutiehacker Instead of "Math.Floor" or "math.floor", You just have to type "Math.floor"

          kumri owoK Offline
          kumri owoK Offline
          kumri owo
          wrote on last edited by
          #15

          @ali00035 no..........

          Ali00035A 1 Reply Last reply
          20
          • kumri owoK kumri owo

            @ali00035 no..........

            Ali00035A Offline
            Ali00035A Offline
            Ali00035
            wrote on last edited by
            #16

            @cutiehacker ?

            kumri owoK 1 Reply Last reply
            0
            • Ali00035A Ali00035

              @cutiehacker ?

              kumri owoK Offline
              kumri owoK Offline
              kumri owo
              wrote on last edited by
              #17

              @ali00035 It works Thank You, I cant believe such a simple mistake cost me that much time!

              Ali00035A 1 Reply Last reply
              19
              • kumri owoK kumri owo has marked this topic as solved on
              • kumri owoK kumri owo

                @ali00035 It works Thank You, I cant believe such a simple mistake cost me that much time!

                Ali00035A Offline
                Ali00035A Offline
                Ali00035
                wrote on last edited by
                #18

                @cutiehacker No problem.

                Nice avatar by the way.

                kumri owoK 1 Reply Last reply
                0
                • Ali00035A Ali00035

                  @cutiehacker No problem.

                  Nice avatar by the way.

                  kumri owoK Offline
                  kumri owoK Offline
                  kumri owo
                  wrote on last edited by
                  #19

                  @ali00035 thanks!

                  Ali00035A 1 Reply Last reply
                  18
                  • kumri owoK kumri owo

                    @ali00035 thanks!

                    Ali00035A Offline
                    Ali00035A Offline
                    Ali00035
                    wrote on last edited by
                    #20

                    @cutiehacker No problem again. 😄

                    kumri owoK 1 Reply Last reply
                    1
                    • Ali00035A Ali00035

                      @cutiehacker No problem again. 😄

                      kumri owoK Offline
                      kumri owoK Offline
                      kumri owo
                      wrote on last edited by
                      #21

                      @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?

                      kumri owoK 1 Reply Last reply
                      19
                      • kumri owoK kumri owo

                        @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?

                        kumri owoK Offline
                        kumri owoK Offline
                        kumri owo
                        wrote on last edited by
                        #22

                        @cutiehacker I tired if(target.getname != "Zombie") but that did not seem to work

                        Plumer ManP 1 Reply Last reply
                        16
                        • kumri owoK kumri owo

                          @cutiehacker I tired if(target.getname != "Zombie") but that did not seem to work

                          Plumer ManP Offline
                          Plumer ManP Offline
                          Plumer Man
                          wrote on last edited by
                          #23

                          If (!(entity instanceof EntityZombie))
                          //code

                          remember to import the zombie class to avoid errors

                          Ali00035A 1 Reply Last reply
                          0
                          • Plumer ManP Plumer Man

                            If (!(entity instanceof EntityZombie))
                            //code

                            remember to import the zombie class to avoid errors

                            Ali00035A Offline
                            Ali00035A Offline
                            Ali00035
                            wrote on last edited by
                            #24

                            @plumer-man said in Problem With Script:

                            If (!(entity instanceof EntityZombie))

                            There is something wrong here.

                            kumri owoK 1 Reply Last reply
                            0
                            • Ali00035A Ali00035

                              @plumer-man said in Problem With Script:

                              If (!(entity instanceof EntityZombie))

                              There is something wrong here.

                              kumri owoK Offline
                              kumri owoK Offline
                              kumri owo
                              wrote on last edited by
                              #25

                              @ali00035 ? What Is Wrong About It?

                              Ali00035A 1 Reply Last reply
                              19
                              • kumri owoK kumri owo

                                @ali00035 ? What Is Wrong About It?

                                Ali00035A Offline
                                Ali00035A Offline
                                Ali00035
                                wrote on last edited by
                                #26

                                @cutiehacker There are unnecessary brackets in that code.

                                kumri owoK A 2 Replies Last reply
                                0
                                • Ali00035A Ali00035

                                  @cutiehacker There are unnecessary brackets in that code.

                                  kumri owoK Offline
                                  kumri owoK Offline
                                  kumri owo
                                  wrote on last edited by
                                  #27

                                  @ali00035 oh I thought It was like a error

                                  1 Reply Last reply
                                  18
                                  • Ali00035A Ali00035

                                    @cutiehacker There are unnecessary brackets in that code.

                                    A Offline
                                    A Offline
                                    Aftery
                                    wrote on last edited by
                                    #28
                                    This post is deleted!
                                    kumri owoK Ali00035A 3 Replies Last reply
                                    0
                                    • A Aftery

                                      This post is deleted!

                                      kumri owoK Offline
                                      kumri owoK Offline
                                      kumri owo
                                      wrote on last edited by
                                      #29

                                      @aftery ?

                                      1 Reply Last reply
                                      16
                                      • A Aftery

                                        This post is deleted!

                                        Ali00035A Offline
                                        Ali00035A Offline
                                        Ali00035
                                        wrote on last edited by
                                        #30

                                        @aftery said in Problem With Script:

                                        after thousands of posts i still dont know whether our friend ender1355 is being serious or not

                                        I don't know if that's correct or not as I don't play MC or code anymore

                                        1 Reply Last reply
                                        0
                                        • Ali00035A Offline
                                          Ali00035A Offline
                                          Ali00035
                                          wrote on last edited by
                                          #31

                                          And I was wrong because I thought there were more than 4 brackets, sometimes I see stuff wrong.

                                          1 Reply Last reply
                                          0

                                          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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          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
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups