Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- if {_kitstatus} is true:
- set {_kitstatus} to false
- on join:
- if {_kitstatus} is true:
- set {_kitstatus} to false
- command /kit:
- trigger:
- open chest with 1 row named " &6&l(!) KITS GUI (!)" to player
- format slot 0 of player with iron sword named "&f&lPVP" to close then run [execute player command "kitpvp"]
- command /kitpvp:
- trigger:
- if {_kitstatus} is true:
- send ""
- send "&6&l(!) &7You cannot use this kit until you die!"
- send ""
- else:
- give unbreakable iron sword named "&f&l&oIron Sword" to player
- set player's helmet to unbreakable iron helmet named "&f&l&oIron Helmet"
- set player's chestplate to unbreakable iron chestplate named "&f&l&oIron Chestplate"
- set player's leggings to unbreakable iron leggings named "&f&l&oIron Leggings"
- set player's boots to unbreakable iron boots named "&f&l&oIron Boots"
- send ""
- send "&6&l(!) &7You have successfully equipped kit &6&nPvP&7!"
- send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement