SHARE
TWEET

Untitled

a guest Dec 8th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /kity:
  2.     trigger:
  3.         open chest with 3 row named "&e&lZestawy do Wyboru" to player
  4.         set slot 0 of player's current inventory to black stained glass pane named "***"      
  5.         set slot 1 of player's current inventory to black stained glass pane named "***"
  6.         set slot 2 of player's current inventory to black stained glass pane named "***"
  7.         set slot 3 of player's current inventory to black stained glass pane named "***"
  8.         set slot 4 of player's current inventory to black stained glass pane named "***"
  9.         set slot 5 of player's current inventory to black stained glass pane named "***"
  10.         set slot 6 of player's current inventory to black stained glass pane named "***"
  11.         set slot 7 of player's current inventory to black stained glass pane named "***"
  12.         set slot 8 of player's current inventory to black stained glass pane named "***"
  13.         set slot 9 of player's current inventory to coal named "&7&lKIT GRACZ"
  14.         set slot 10 of player's current inventory to black stained glass pane named "***"
  15.         set slot 11 of player's current inventory to iron ingot named "&f&lKIT IRON"
  16.         set slot 12 of player's current inventory to black stained glass pane named "***"
  17.         set slot 13 of player's current inventory to gold ingot named "&6&lKIT GOLD"
  18.         set slot 14 of player's current inventory to black stained glass pane named "***"
  19.         set slot 15 of player's current inventory to diamond named "&b&lKIT DIAMENT"
  20.         set slot 16 of player's current inventory to black stained glass pane named "***"
  21.         set slot 17 of player's current inventory to emerald named "&a&lKIT EMERALD"
  22.         set slot 18 of player's current inventory to black stained glass pane named "***"
  23.         set slot 19 of player's current inventory to black stained glass pane named "***"
  24.         set slot 20 of player's current inventory to black stained glass pane named "***"
  25.         set slot 21 of player's current inventory to black stained glass pane named "***"
  26.         set slot 22 of player's current inventory to black stained glass pane named "***"
  27.         set slot 23 of player's current inventory to black stained glass pane named "***"
  28.         set slot 24 of player's current inventory to black stained glass pane named "***"
  29.         set slot 25 of player's current inventory to black stained glass pane named "***"
  30.         set slot 26 of player's current inventory to black stained glass pane named "***"
  31.        
  32. on inventory click:
  33.     if name of clicked inventory is "&e&lZestawy do Wyboru":
  34.         if clicked slot is 9:
  35.             set {_diff} to difference between {kit.gracz.%player%} and now
  36.             if {_diff} is less than 60 minutes:
  37.                 set {_diff} to difference between {_diff} and 60 minutes
  38.                 send "&6[&a&lSkyBlock&6] &bMusisz odczekac &7%{_diff}% &baby przywolac ten zestaw" to player
  39.                 stop
  40.             set {kit.gracz.%player%} to now
  41.             give 1 stone pickaxe of efficiency 1 to player
  42.             give 1 stone shovel of efficiency 1 to player
  43.             give 1 stone axe of efficiency 1 to player
  44.             give 1 stone sword of sharpness 1 to player
  45.         if clicked slot is 11:
  46.             if player has permission "Iron":
  47.                 set {_diff} to difference between {kit.iron.%player%} and now
  48.                 if {_diff} is less than 60 minutes:
  49.                     set {_diff} to difference between {_diff} and 60 minutes
  50.                     send "&6[&a&lSkyBlock&6] &bMusisz odczekac &7%{_diff}% &baby przywolac ten zestaw" to player
  51.                     stop
  52.                 set {kit.iron.%player%} to now
  53.                 give 1 iron helmet of protection 1 to player
  54.                 give 1 iron chestplate of protection 1 to player
  55.                 give 1 iron leggings of protection 1 to player
  56.                 give 1 iron boots of protection 1 to player
  57.                 give 1 iron sword of sharpness 1 to player
  58.                 give 1 iron shovel of efficiency 1 to player
  59.                 give 1 iron pickaxe of efficiency 1 to player
  60.                 give 1 iron axe of efficiency 1 to player
  61.                 give 5 golden apple to player
  62.                
  63.             else:
  64.                 send "&cNie masz uprawnien &7Irona&c!" to player
  65.         if clicked slot is 13:
  66.             if player has permission "Gold":
  67.                 set {_diff} to difference between {kit.gold.%player%} and now
  68.                 if {_diff} is less than 60 minutes:
  69.                     set {_diff} to difference between {_diff} and 60 minutes
  70.                     send "&6[&a&lSkyBlock&6] &bMusisz odczekac &7%{_diff}% &baby przywolac ten zestaw" to player
  71.                     stop
  72.                 set {kit.gold.%player%} to now
  73.                 give 1 diamond helmet to player
  74.                 give 1 diamond chestplate to player
  75.                 give 1 diamond leggings to player
  76.                 give 1 diamond boots to player
  77.                 give 1 diamond sword to player
  78.                 give 1 diamond shovel to player
  79.                 give 1 diamond pickaxe to player
  80.                 give 1 diamond axe to player
  81.                 give 10 golden apple to player
  82.                 give 5 enchanted golden apple to player
  83.             else:
  84.                 send "&cNie masz uprawnien &6Golda&c!" to player
  85.         if clicked slot is 15:
  86.             if player has permission "Diament":
  87.                 set {_diff} to difference between {kit.diament.%player%} and now
  88.                 if {_diff} is less than 60 minutes:
  89.                     set {_diff} to difference between {_diff} and 60 minutes
  90.                     send "&6[&a&lSkyBlock&6] &bMusisz odczekac &7%{_diff}% &baby przywolac ten zestaw" to player
  91.                     stop
  92.                 set {kit.diament.%player%} to now
  93.                 give 1 diamond helmet of protection 3 to player
  94.                 give 1 diamond chestplate of protection 3 to player
  95.                 give 1 diamond leggings of protection 3 to player
  96.                 give 1 diamond boots of protection 3 to player
  97.                 give 1 diamond sword of protection 3 to player
  98.                 give 1 diamond shovel of efficiency 3 to player
  99.                 give 1 diamond pickaxe of efficiency 3 to player
  100.                 give 1 diamond axe of efficiency 3 to player
  101.                 give 15 golden apple to player
  102.                 give 10 enchanted golden apple to player
  103.             else:
  104.                 send "&cNie masz uprawnien &bDiamenta&c!" to player
  105.         if clicked slot is 17:
  106.             if player has permission "Emerald":
  107.                 set {_diff} to difference between {kit.emerald.%player%} and now
  108.                 if {_diff} is less than 60 minutes:
  109.                     set {_diff} to difference between {_diff} and 60 minutes
  110.                     send "&6[&a&lSkyBlock&6] &bMusisz odczekac &7%{_diff}% &baby przywolac ten zestaw" to player
  111.                     stop
  112.                 set {kit.emerald.%player%} to now
  113.                 give 1 diamond helmet of protection 5 to player
  114.                 give 1 diamond chestplate of protection 5 to player
  115.                 give 1 diamond leggings of protection 5 to player
  116.                 give 1 diamond boots of protection 5 to player
  117.                 give 1 diamond sword of protection 5 to player
  118.                 give 1 diamond shovel of efficiency 5 to player
  119.                 give 1 diamond pickaxe of efficiency 5 to player
  120.                 give 1 diamond axe of efficiency 5 to player
  121.                 give 20 golden apple to player
  122.                 give 15 enchanted golden apple to player
  123.             else:
  124.                 send "&cNie masz uprawnien &aEmeralda&c!" to player
  125.  
  126.            
  127. on inventory click:
  128.     if name of clicked inventory is "&e&lZestawy do Wyboru":
  129.         cancel event
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top