Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. command /kit:
  2. aliases: kits
  3. trigger:
  4. open chest with 5 rows named "&6&lKITS" to player
  5. wait 3 ticks
  6. loop integers from 0 to 44:
  7. format slot loop-number of player with black stained glass pane named "&r" to be unstealable
  8.  
  9.  
  10. if player have permission "essentials.kits.yt":
  11. format slot 2 of player with green stained glass pane named "&e&lKIT &4&lY&f&lT" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit yt"]
  12. else if player does not have permission "essentials.kits.yt":
  13. format slot 2 of player with red stained glass pane named "&e&lKIT &4&lY&f&lT" with lore "&7Status &8» &cIngen adgang" to close
  14.  
  15. if player have permission "essentials.kits.yt":
  16. format slot 3 of player with green stained glass pane named "&e&lKIT &4&lY&f&lT" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit yt"]
  17. else if player does not have permission "essentials.kits.yt":
  18. format slot 3 of player with red stained glass pane named "&e&lKIT &4&lY&f&lT" with lore "&7Status &8» &cIngen adgang" to close
  19.  
  20. if player have permission "essentials.kits.upgrader":
  21. format slot 5 of player with green stained glass pane named "&e&lKIT &6&lUpgrader" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit upgrader"]
  22. else if player does not have permission "essentials.kits.upgrader":
  23. format slot 5 of player with red stained glass pane named "&e&lKIT &6&lUpgrader" with lore "&7Status &8» &cIngen adgang" to close
  24.  
  25. if player have permission "essentials.kits.upgrader":
  26. format slot 6 of player with green stained glass pane named "&e&lKIT &6&lUpgrader" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit upgrader"]
  27. else if player does not have permission "essentials.kits.upgrader":
  28. format slot 6 of player with red stained glass pane named "&e&lKIT &6&lUpgrader" with lore "&7Status &8» &cIngen adgang" to close
  29.  
  30. if player have permission "essentials.kits.god":
  31. format slot 19 of player with green stained glass pane named "&e&lKIT &e&lGod" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit god"]
  32. else if player does not have permission "essentials.kits.god":
  33. format slot 19 of player with red stained glass pane named "&e&lKIT &e&lGod" with lore "&7Status &8» &cIngen adgang" to close
  34.  
  35. if player have permission "essentials.kits.normal":
  36. format slot 23 of player with green stained glass pane named "&e&lKIT &6&lNormal" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit normal"]
  37. else if player does not have permission "essentials.kits.normal":
  38. format slot 23 of player with red stained glass pane named "&e&lKIT &6&lNormal" with lore "&7Status &8» &cIngen adgang" to close
  39.  
  40. if player have permission "essentials.kits.speciel":
  41. format slot 25 of player with green stained glass pane named "&e&lKIT &6&lSPECIEL" with lore "&7You have this &8» &aRank" to close then run [execute console command "/ekit speciel"]
  42. else if player does not have permission "essentials.kits.speciel":
  43. format slot 25 of player with red stained glass pane named "&e&lKIT &6&lSPECIEL" with lore "&7Status &8» &cIngen adgang" to close
  44.  
  45.  
  46. if player have permission "essentials.kits.legend":
  47. format slot 38 of player with green stained glass pane named "&e&lKIT &b&lLegend" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit legend"]
  48. else if player does not have permission "essentials.kits.legend":
  49. format slot 38 of player with red stained glass pane named "&e&lKIT &b&lLegend" with lore "&7Status &8» &cIngen adgang" to close
  50.  
  51.  
  52. if player have permission "essentials.kits.legend":
  53. format slot 39 of player with green stained glass pane named "&e&lKIT &b&lLegend" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit legend"]
  54. else if player does not have permission "essentials.kits.legend":
  55. format slot 39 of player with red stained glass pane named "&b&lLegend" with lore "&7Status &8» &cIngen adgang" to close
  56.  
  57. if player have permission "essentials.kits.mythic":
  58. format slot 41 of player with green stained glass pane named "&e&lKIT Mythic" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit mythic"]
  59. else if player does not have permission "essentials.kits.mythic":
  60. format slot 41 of player with red stained glass pane named "&e&lKIT Mythic" with lore "&7Status &8» &cIngen adgang" to close
  61.  
  62.  
  63. if player have permission "essentials.kits.mythic":
  64. format slot 42 of player with green stained glass pane named "&e&lKIT Mythic" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit mythic"]
  65. else if player does not have permission "essentials.kits.mythic":
  66. format slot 42 of player with red stained glass pane named "&e&lKIT Mythic" with lore "&7Status &8» &cIngen adgang" to close
  67.  
  68. if player have permission "essentials.kits.ninja:
  69. format slot 21 of player with green stained glass pane named "&e&lKIT &6&lNinja" with lore "&7You have this &8» &aRank" to close then run [execute player command "/ekit ninja"]
  70. else if player does not have permission "essentials.kits.ninja":
  71. format slot 21 of player with red stained glass pane named "&e&lKIT &6&lNinja" with lore "&7Status &8» &cIngen adgang" to close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement