Advertisement
8p0

SKRIPT KitPvP Basic

8p0
Mar 16th, 2021 (edited)
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. #<====================>
  2. # made by 8p0 :)
  3. #<====================>
  4. #don't distribute or claim as yours!
  5. on join:
  6. set player's helmet to iron helmet with nbt "{Unbreakable:1,HideFlags:63}"
  7. set player's chestplate to iron chestplate with nbt "{Unbreakable:1,HideFlags:63}"
  8. set player's leggings to iron leggings with nbt "{Unbreakable:1,HideFlags:63}"
  9. set player's boots to iron boots with nbt "{Unbreakable:1,HideFlags:63}"
  10. add 1 iron sword with nbt "{Unbreakable:1,HideFlags:63}" to player's inventory
  11. wait 5 ticks
  12. add 1 golden apple to player's inventory
  13.  
  14. on death:
  15. if victim is a player:
  16. make player execute "/dkit"
  17.  
  18. command /dkit:
  19. trigger:
  20. clear player's inventory
  21. wait 1 second
  22. set player's helmet to iron helmet with nbt "{Unbreakable:1,HideFlags:63}"
  23. set player's chestplate to iron chestplate with nbt "{Unbreakable:1,HideFlags:63}"
  24. set player's leggings to iron leggings with nbt "{Unbreakable:1,HideFlags:63}"
  25. set player's boots to iron boots with nbt "{Unbreakable:1,HideFlags:63}"
  26. add 1 iron sword with nbt "{Unbreakable:1,HideFlags:63}" to player's inventory
  27. wait 5 ticks
  28. add 1 golden apple to player's inventory
  29.  
  30. on death:
  31. if victim is a player:
  32. if attacker is a player:
  33. play sound "entity.wolf.whine" at volume 1 and pitch 1 to victim
  34. send "&c" to victim
  35. send "&c%attacker%&7 killed you!" to victim
  36. send "&c" to victim
  37. play sound "entity.player.levelup" at volume 1 and pitch 1 to attacker
  38. send "&c" to attacker
  39. send "&7You killed &c%victim%&c!" to attacker
  40. send "&c" to attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement