Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /kit:
- aliases: kits
- trigger:
- open chest with 5 rows named "&6&lKITS" to player
- wait 3 ticks
- loop integers from 0 to 44:
- format slot loop-number of player with black stained glass pane named "&r" to be unstealable
- if player have permission "essentials.kits.yt":
- 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"]
- else if player does not have permission "essentials.kits.yt":
- 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
- if player have permission "essentials.kits.yt":
- 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"]
- else if player does not have permission "essentials.kits.yt":
- 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
- if player have permission "essentials.kits.upgrader":
- 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"]
- else if player does not have permission "essentials.kits.upgrader":
- format slot 5 of player with red stained glass pane named "&e&lKIT &6&lUpgrader" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.upgrader":
- 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"]
- else if player does not have permission "essentials.kits.upgrader":
- format slot 6 of player with red stained glass pane named "&e&lKIT &6&lUpgrader" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.god":
- 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"]
- else if player does not have permission "essentials.kits.god":
- format slot 19 of player with red stained glass pane named "&e&lKIT &e&lGod" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.normal":
- 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"]
- else if player does not have permission "essentials.kits.normal":
- format slot 23 of player with red stained glass pane named "&e&lKIT &6&lNormal" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.speciel":
- 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"]
- else if player does not have permission "essentials.kits.speciel":
- format slot 25 of player with red stained glass pane named "&e&lKIT &6&lSPECIEL" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.legend":
- 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"]
- else if player does not have permission "essentials.kits.legend":
- format slot 38 of player with red stained glass pane named "&e&lKIT &b&lLegend" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.legend":
- 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"]
- else if player does not have permission "essentials.kits.legend":
- format slot 39 of player with red stained glass pane named "&b&lLegend" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.mythic":
- 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"]
- else if player does not have permission "essentials.kits.mythic":
- format slot 41 of player with red stained glass pane named "&e&lKIT Mythic" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.mythic":
- 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"]
- else if player does not have permission "essentials.kits.mythic":
- format slot 42 of player with red stained glass pane named "&e&lKIT Mythic" with lore "&7Status &8» &cIngen adgang" to close
- if player have permission "essentials.kits.ninja:
- 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"]
- else if player does not have permission "essentials.kits.ninja":
- 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