Advertisement
Guest User

awdawdawd

a guest
Feb 23rd, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. on death:
  2. if {_kitstatus} is true:
  3. set {_kitstatus} to false
  4.  
  5.  
  6. on join:
  7. if {_kitstatus} is true:
  8. set {_kitstatus} to false
  9.  
  10.  
  11.  
  12. command /kit:
  13. trigger:
  14. open chest with 1 row named " &6&l(!) KITS GUI (!)" to player
  15. format slot 0 of player with iron sword named "&f&lPVP" to close then run [execute player command "kitpvp"]
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. command /kitpvp:
  23. trigger:
  24. if {_kitstatus} is true:
  25. send ""
  26. send "&6&l(!) &7You cannot use this kit until you die!"
  27. send ""
  28. else:
  29. give unbreakable iron sword named "&f&l&oIron Sword" to player
  30. set player's helmet to unbreakable iron helmet named "&f&l&oIron Helmet"
  31. set player's chestplate to unbreakable iron chestplate named "&f&l&oIron Chestplate"
  32. set player's leggings to unbreakable iron leggings named "&f&l&oIron Leggings"
  33. set player's boots to unbreakable iron boots named "&f&l&oIron Boots"
  34. send ""
  35. send "&6&l(!) &7You have successfully equipped kit &6&nPvP&7!"
  36. send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement