YouLosing

Untitled

Jan 17th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.87 KB | None | 0 0
  1. command /kit [<text>]:
  2. executable by: player
  3. trigger:
  4. {inspawn.%player%} exist
  5. if arg-1 is "edit":
  6. if player is op:
  7. restore inventory of player from {kit3.inv}
  8. equip player with 1 of {kit3.helmet}
  9. equip player with 1 of {kit3.chestplate}
  10. equip player with 1 of {kit3.leggings}
  11. equip player with 1 of {kit3.boots}
  12. else if {grade.%player's uuid%} is "&7Joueur":
  13. restore inventory of player from {kit1.inv}
  14. equip player with 1 of {kit1.helmet}
  15. equip player with 1 of {kit1.chestplate}
  16. equip player with 1 of {kit1.leggings}
  17. equip player with 1 of {kit1.boots}
  18. else if {grade.%player's uuid%} is "&eVIP" or "&bVIP+" or "&aSilent":
  19. restore inventory of player from {kit2.inv}
  20. equip player with 1 of {kit2.helmet}
  21. equip player with 1 of {kit2.chestplate}
  22. equip player with 1 of {kit2.leggings}
  23. equip player with 1 of {kit2.boots}
  24. else if {grade.%player's uuid%} is "&6Youtubeur" or "&6Youtubeuse" or "&cModérateur" or "&cModératrice" or "&cSuperModo":
  25. restore inventory of player from {kit3.inv}
  26. equip player with 1 of {kit3.helmet}
  27. equip player with 1 of {kit3.chestplate}
  28. equip player with 1 of {kit3.leggings}
  29. set {editing::%player's UUID%} to true
  30. else if arg-1 is "accept":
  31. if {editing::%player's UUID%} exist:
  32. clear {editing::%player's UUID%}
  33. set {kitedit::%player's UUID%::inv} to player's serialized inventory
  34. set {kitedit::%player's UUID%::casque} to player's helmet
  35. set {kitedit::%player's UUID%::plastron} to player's chestplate
  36. set {kitedit::%player's UUID%::jambieres} to player's leggings
  37. set {kitedit::%player's UUID%::bottes} to player's boots
  38. else:
  39. send "&cErreur: Utilise `/kit edit` pour modifier ton Kit." to sender
  40.  
  41.  
  42.  
  43. on right click with iron axe:
  44. if name of tool of player is "&6Rejoindre":
  45. clear {inspawn.%player%}
  46. set {inarena.%player%} to true
  47. clear player's inventory
  48. set {_random} to random element of {positions::*}
  49. teleport player to {_random}
  50. send "{@arenajoiningmessage}"
  51. if {kitedit::%player's UUID%::inv} exist:
  52. restore inventory of player from {kitedit::%player's UUID%::inv}
  53. equip player with 1 of {kitedit::%player's UUID%::casque}
  54. equip player with 1 of {kitedit::%player's UUID%::plastron}
  55. equip player with 1 of {kitedit::%player's UUID%::jambieres}
  56. equip player with 1 of {kitedit::%player's UUID%::bottes}
  57. else if player is op:
  58. restore inventory of player from {kit3.inv}
  59. equip player with 1 of {kit3.helmet}
  60. equip player with 1 of {kit3.chestplate}
  61. equip player with 1 of {kit3.leggings}
  62. equip player with 1 of {kit3.boots}
  63. else if {grade.%player's uuid%} is "&7Joueur":
  64. restore inventory of player from {kit1.inv}
  65. equip player with 1 of {kit1.helmet}
  66. equip player with 1 of {kit1.chestplate}
  67. equip player with 1 of {kit1.leggings}
  68. equip player with 1 of {kit1.boots}
  69. else if {grade.%player's uuid%} is "&eVIP" or "&bVIP+" or "&aSilent":
  70. restore inventory of player from {kit2.inv}
  71. equip player with 1 of {kit2.helmet}
  72. equip player with 1 of {kit2.chestplate}
  73. equip player with 1 of {kit2.leggings}
  74. equip player with 1 of {kit2.boots}
  75. else if {grade.%player's uuid%} is "&6Youtubeur" or "&6Youtubeuse" or "&cModérateur" or "&cModératrice" or "&cSuperModo":
  76. restore inventory of player from {kit3.inv}
  77. equip player with 1 of {kit3.helmet}
  78. equip player with 1 of {kit3.chestplate}
  79. equip player with 1 of {kit3.leggings}
  80. set {editing::%player's UUID%} to true
Advertisement
Add Comment
Please, Sign In to add comment