Advertisement
Guest User

kitpvp

a guest
Feb 25th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. command /kitpvp:
  2. permission: kitpvp.use
  3. aliases: kp
  4. trigger:
  5. if the player is in "kitpvp":
  6. wait 2 tick
  7. open chest with 3 row named "&0&lKitMenu" to player
  8. wait 2 tick
  9. format slot 0 of player with 1 of diamond sword named "&cKit default" to close then run [player command "kit default"]
  10. format slot 1 of player with 1 of bow named "&bKit Archer" to close then run [player command "kit archer"]
  11. format slot 2 of player with 1 of 373:16388 named "&5Kit Witch" to close then run [player command "kit witch"]
  12. format slot 3 of player with 1 of stick named "&0Batguy" to close then run [player command "kit batguy"]
  13. format slot 4 of player with 1 of 311 named "&4&lBarbarian &7(Premium)" to close then run [player command "kit Barbarian"]
  14.  
  15. command /menu:
  16. trigger:
  17. give a 399 named "&4Menu of Kits" to player
  18. wait 30000000000000 tick
  19. remove 1 399 from player
  20.  
  21. on death:
  22. player is in "world":
  23. message "&b&lYou did it GREAT" to player
  24. wait 2 tick
  25. give player 1 399 named "&4&lMenu of Kits"
  26.  
  27.  
  28. on rightclick with 399:
  29. if the player is in "kitpvp":
  30. execute console command "pex user %player% add kitpvp.use"
  31. execute player command "kitpvp"
  32. execute console command "pex user %player% remove kitpvp.use"
  33. remove 1 399 from player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement