Facebook
From Bleiw, 1 Week ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 45
  1. command /cobblex:
  2.         trigger:
  3.                 if player has 576 cobblestone:
  4.                         remove 576 cobblestone from player
  5.                         give a 48 of fortune 10 named "&9CobbleX" with lore "&b» &7Kliknij PPM aby Otworzyc" to the player
  6.                 else:
  7.                         send "&b» &7Masz za malo Cobblestone'a &7[&a%amount of cobblestone in player's inventory%&7/&4576&7]"
  8.                        
  9. on place:
  10.         if player has permission "drop.cobblex.gracz":
  11.                 if name of player's tool contains "&9CobbleX":
  12.                         lore of player's tool contains "&b» &7Kliknij PPM aby Otworzyc":
  13.                                 remove 1 mossy cobblestone named "&9CobbleX" with lore "&b» &7Kliknij PPM aby Otworzyc" from player
  14.                                 set block to air
  15.                                 set {_cobblex} to random integer between 0 and 8
  16.                                 if {_cobblex} is 1:
  17.                                         give player 1 enchanted golden apple
  18.                                         send "&b» &7[&9CobbleX&7] Otrzymales &21 &dKoxa"
  19.                                 if {_cobblex} is 2:
  20.                                         give player 6 golden apple
  21.                                         send "&b» &7[&9CobbleX&7] Otrzymales &26 &bRefili"
  22.                                 if {_cobblex} is 3:
  23.                                         give player 8 diamond
  24.                                         send "&b» &7[&9CobbleX&7] Otrzymales &28 &3Diamentow"
  25.                                 if {_cobblex} is 4:
  26.                                         give player 16 iron ingot
  27.                                         send "&b» &7[&9CobbleX&7] Otrzymales &216 &7Zelaza"
  28.                                 if {_cobblex} is 5:
  29.                                         give player 16 gold ingot
  30.                                         send "&b» &7[&9CobbleX&7] Otrzymales &216 &eZlota"
  31.                                 if {_cobblex} is 6:
  32.                                         give player 1 ender pearl
  33.                                         send "&b» &7[&9CobbleX&7] Otrzymales &21 &9Perly"
  34.                                 if {_cobblex} is 7:
  35.                                         give player 16 obsidian
  36.                                         send "&b» &7[&9CobbleX&7] Otrzymales &216 &9Obsydianu"
  37.                                 if {_cobblex} is 8:
  38.                                         give player 16 tnt
  39.                                         send "&b» &7[&9CobbleX&7] Otrzymales &216 &4TnT"
  40.                                 if {_cobblex} is 9:
  41.                                         give player 16 emerald
  42.                                         send "&b» &7[&9CobbleX&7] Otrzymales &216 &2Emeraldow"
  43.         else:
  44.         if player has permission "drop.cobblex.vip":
  45.                 if name of player's tool contains "&9CobbleX":
  46.                         lore of player's tool contains "&b» &7Kliknij PPM aby Otworzyc":
  47.                                 remove 1 mossy cobblestone named "&9CobbleX" with lore "&b» &7Kliknij PPM aby Otworzyc" from player
  48.                                 set block to air
  49.                                 set {_cobblex} to random integer between 0 and 8
  50.                                 if {_cobblex} is 1:
  51.                                         give player 2 enchanted golden apple
  52.                                         send "&b» &7[&9CobbleX&7] Otrzymales &22 &dKoxy"
  53.                                 if {_cobblex} is 2:
  54.                                         give player 8 golden apple
  55.                                         send "&b» &7[&9CobbleX&7] Otrzymales &28 &bRefili"
  56.                                 if {_cobblex} is 3:
  57.                                         give player 10 diamond
  58.                                         send "&b» &7[&9CobbleX&7] Otrzymales &210 &3Diamentow"
  59.                                 if {_cobblex} is 4:
  60.                                         give player 18 iron ingot
  61.                                         send "&b» &7[&9CobbleX&7] Otrzymales &218 &7Zelaza"
  62.                                 if {_cobblex} is 5:
  63.                                         give player 18 gold ingot
  64.                                         send "&b» &7[&9CobbleX&7] Otrzymales &218 &eZlota"
  65.                                 if {_cobblex} is 6:
  66.                                         give player 2 ender pearl
  67.                                         send "&b» &7[&9CobbleX&7] Otrzymales &22 &9Perly"
  68.                                 if {_cobblex} is 7:
  69.                                         give player 18 obsidian
  70.                                         send "&b» &7[&9CobbleX&7] Otrzymales &218 &9Obsydianu"
  71.                                 if {_cobblex} is 8:
  72.                                         give player 18 tnt
  73.                                         send "&b» &7[&9CobbleX&7] Otrzymales &218 &4TnT"
  74.                                 if {_cobblex} is 9:
  75.                                         give player 18 emerald
  76.                                         send "&b» &7[&9CobbleX&7] Otrzymales &218 &2Emeraldow"
  77.                                
  78. command /DropCobblex:
  79.         trigger:
  80.                 if player has permissions "drop.cobblex":
  81.                         open chest with 3 row named "&b» &7Drop z &9CobbleX'a" to player
  82.                         format slot 0 of player with 1 101 named "&bRealHC.PL" to be unstealable
  83.                         format slot 1 of player with 1 101 named "&bRealHC.PL" to be unstealable
  84.                         format slot 2 of player with 1 101 named "&bRealHC.PL" to be unstealable
  85.                         format slot 3 of player with 1 101 named "&bRealHC.PL" to be unstealable
  86.                         format slot 4 of player with 1 101 named "&bRealHC.PL" to be unstealable
  87.                         format slot 5 of player with 1 101 named "&bRealHC.PL" to be unstealable
  88.                         format slot 6 of player with 1 101 named "&bRealHC.PL" to be unstealable
  89.                         format slot 7 of player with 1 101 named "&bRealHC.PL" to be unstealable
  90.                         format slot 8 of player with 1 101 named "&bRealHC.PL" to be unstealable
  91.                         format slot 9 of player with 1 enchanted golden apple to be unstealable
  92.                         format slot 10 of player with 1 ender pearl to be unstealable
  93.                         format slot 11 of player with 6 golden apple to be unstealable
  94.                         format slot 12 of player with 8 diamond to be unstealable
  95.                         format slot 13 of player with 16 emerald to be unstealable
  96.                         format slot 14 of player with 16 iron ingot to be unstealable
  97.                         format slot 15 of player with 16 gold ingot to be unstealable
  98.                         format slot 16 of player with 16 obsidian to be unstealable
  99.                         format slot 17 of player with 16 tnt to be unstealable
  100.                         format slot 18 of player with 1 101 named "&bRealHC.PL" to be unstealable
  101.                         format slot 19 of player with 1 101 named "&bRealHC.PL" to be unstealable
  102.                         format slot 20 of player with 1 101 named "&bRealHC.PL" to be unstealable
  103.                         format slot 21 of player with 1 101 named "&bRealHC.PL" to be unstealable
  104.                         format slot 22 of player with 1 101 named "&bRealHC.PL" to be unstealable
  105.                         format slot 23 of player with 1 101 named "&bRealHC.PL" to be unstealable
  106.                         format slot 24 of player with 1 101 named "&bRealHC.PL" to be unstealable
  107.                         format slot 25 of player with 1 101 named "&bRealHC.PL" to be unstealable
  108.                         format slot 26 of player with 1 101 named "&bRealHC.PL" to be unstealable
  109.                 if player has permission "drop.cobblex.vip":
  110.                         open chest with 3 row named "&b» &7Drop z &9CobbleX'a" to player
  111.                         format slot 0 of player with 1 101 named "&bRealHC.PL" to be unstealable
  112.                         format slot 1 of player with 1 101 named "&bRealHC.PL" to be unstealable
  113.                         format slot 2 of player with 1 101 named "&bRealHC.PL" to be unstealable
  114.                         format slot 3 of player with 1 101 named "&bRealHC.PL" to be unstealable
  115.                         format slot 4 of player with 1 101 named "&bRealHC.PL" to be unstealable
  116.                         format slot 5 of player with 1 101 named "&bRealHC.PL" to be unstealable
  117.                         format slot 6 of player with 1 101 named "&bRealHC.PL" to be unstealable
  118.                         format slot 7 of player with 1 101 named "&bRealHC.PL" to be unstealable
  119.                         format slot 8 of player with 1 101 named "&bRealHC.PL" to be unstealable
  120.                         format slot 9 of player with 2 enchanted golden apple to be unstealable
  121.                         format slot 10 of player with 2 ender pearl to be unstealable
  122.                         format slot 11 of player with 8 golden apple to be unstealable
  123.                         format slot 12 of player with 10 diamond to be unstealable
  124.                         format slot 13 of player with 18 emerald to be unstealable
  125.                         format slot 14 of player with 18 iron ingot to be unstealable
  126.                         format slot 15 of player with 18 gold ingot to be unstealable
  127.                         format slot 16 of player with 18 obsidian to be unstealable
  128.                         format slot 17 of player with 18 tnt to be unstealable
  129.                         format slot 18 of player with 1 101 named "&bRealHC.PL" to be unstealable
  130.                         format slot 19 of player with 1 101 named "&bRealHC.PL" to be unstealable
  131.                         format slot 20 of player with 1 101 named "&bRealHC.PL" to be unstealable
  132.                         format slot 21 of player with 1 101 named "&bRealHC.PL" to be unstealable
  133.                         format slot 22 of player with 1 101 named "&bRealHC.PL" to be unstealable
  134.                         format slot 23 of player with 1 101 named "&bRealHC.PL" to be unstealable
  135.                         format slot 24 of player with 1 101 named "&bRealHC.PL" to be unstealable
  136.                         format slot 25 of player with 1 101 named "&bRealHC.PL" to be unstealable
  137.                         format slot 26 of player with 1 101 named "&bRealHC.PL" to be unstealable