Jump to content

Lapzzo

Member
  • Posts

    1,368
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Lapzzo

  1. Nevermind, ignore all the past skripts, this one is tested 100% to work.

     

    on right click:
        if name of player's tool is "&dLegendary Crate":
            set {_random} to random integer between 1 and 2
            if {_random} is 1:
                send "&dYey! &fYou found diamond!" to player
                give player 1 diamond named "&6Gem"
                remove 1 of player's held item from player's inventory
            else:
                if {_random} is 2:
                    send "&dYey! &fYou found 2 diamonds!" to player
                    give player 2 diamond named "&6Gem"
                    remove 1 of player's held item from player's inventory

  2. This should work better!

     

    on right click:
        if name of player's tool is "&dLegendary Crate":
            cancel event
            set {_random} to random integer between 1 and 2
            if {_random} is 1:
                send "&dYey! &fYou found diamond!" to player
                give player 1 diamond named "&6Gem"
                remove 1 of player's held item from player's inventory
                if {_random} is 2:
                    send "&dYey! &fYou found 2 diamonds!" to player
                    give player 2 diamond named "&6Gem"
                    remove 1 of player's held item from player's inventory

  3. 8 hours ago, AbusingNub said:

    There is also a custom enchant plugin on Minehut or a well known custom enchant skript online that both offer a range of different enchants with custom abilities.

    Crazy Enchantments right?

  4. Just now, AbusingNub said:

    I found this skript while not at home, so same we are in the same boat. Was out at a friends so couldn't test or anything

    I was on 1.8, and wasnt bothered to switch xD

  5. Just now, AbusingNub said:

    Thanks! Didn't have any time to test, so purely was going off the top of my head haha

    No problem! I just fixed a few mistakes, and made the send thing look better, most of it was from the help of you

    • Thanks 1
  6. Just now, AbusingNub said:

    Same, does the job. I don't see any point in making a custom one for requests like these as they are specific to the user, nor server specific. 

    Alot of the times I make custom skripts, but yesterday I posted like crazy and was tired, so copied it from online

  7. With this skript, you cant wear it, and everything works!

     

    on right click:
        if name of player's tool is "&dLegendary Crate":
            cancel event
            remove 1 of player's held item from player's inventory
            set {_random} to random integer between 1 and 2
            if {_random} is 1:
                send "&dYey! &fYou found diamond!" to player
                give player 1 diamond named "&6Gem"
                if {_random} is 2:
                    send "&dYey! &fYou found diamond!" to player
                    give player 2 diamond named "&6Gem"

×
×
  • Create New...