Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /kit [<text>] [<offline player>]:
- trigger:
- wait 3 second
- if arg 1 is not set:
- if arg 2 is not set:
- open chest with 3 rows named "Kits" to player
- format slot 10 of player with leather helmet named "&b&lKIT &7&l- &b&lPvP" with lore "&7Tryk her for at modtage dette kit. || &8&oDette kit kan alle tage!" to close then run [make player execute command "/kit pvp"]
- stop
- if arg 1 is "pvp":
- if player's inventory contains 1 nether star:
- remove 1 nether star from player's inventory
- give player a diamond sword named "&b&lPvP"
- give player a bow named "&b&lPvP"
- give player a fishing rod named "&b&lPvP"
- give player 64 cooked porkchop named "&b&lPvP"
- give player 64 arrow named "&b&lPvP"
- give player a iron helmet named "&b&lPvP"
- give player a iron chestplate named "&b&lPvP"
- give player a iron leggings named "&b&lPvP"
- give player a iron boots named "&b&lPvP"
- send "&8&l(&b&lKIT &7&l- &b&lMENU&8&l) &7Du modtog nu kit &b&lPvP&7!" to player
- stop
- if arg 1 is "mazer":
- if player has permission "mazer":
- if player's inventory contains 1 nether star:
- remove 1 nether star from player's inventory
- give player a diamond sword of sharpness 1 named "&6&lMazer"
- give player a bow named "&6&lMazer"
- give player a fishing rod named "&6&lMazer"
- give player 64 cooked porkchop named "&6&lMazer"
- give player 64 arrow named "&6&lMazer"
- give player a diamond helmet of protection 1 named "&6&lMazer"
- give player a iron chestplate named "&6&lMazer"
- give player a diamond leggings of protection 1 named "&6&lMazer"
- give player a iron boots named "&6&lMazer"
- send "&8&l(&b&lKIT &7&l- &b&lMENU&8&l) &7Du modtog nu kit &6&lMazer&7!" to player
- stop
- else:
- send "&8&l(&b&lKIT &7&l- &b&lMENU&8&l) &cDu har ikke adgang til Kittet &6&lMazer&c!" to player
- stop
- if arg 1 is "special":
- if {kit:special:%player%} is true:
- if player's inventory contains 1 nether star:
- remove 1 nether star from player's inventory
- give player a diamond sword of sharpness 2 named "&e&lSpecial"
- give player a bow of power 2 named "&e&lSpecial"
- give player a fishing rod named "&e&lSpecial"
- give player 64 cooked porkchop named "&e&lSpecial"
- give player 64 arrow named "&e&lSpecial"
- give player a diamond helmet of protection 1 named "&e&lSpecial"
- give player a diamond chestplate named "&e&lSpecial"
- give player a diamond leggings of protection 1 named "&e&lSpecial"
- give player a diamond boots named "&e&lSpecial"
- set {kit:special:%player%} to false
- set {minutter:kits:%player%} to 30
- send "&8&l(&b&lKIT &7&l- &b&lMENU&8&l) &7Du modtog nu kit &e&lSpecial&7! &8(&cHUSK! &7Du skal være på i &630 &7Minutter fra nu af, før du kan tage dette kit igen!&8)" to player
- stop
- else:
- send "&8&l(&b&lKIT &7&l- &b&lMENU&8&l) &cDu har ikke adgang til Kittet &e&lSpecial &7lige nu! &8(&7Du skal stadig vente &6%{minutter:kits:%player%}% &7Minutter endu!&8)" to player
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement