bed_the_skripter

Stats [skript]

Jul 16th, 2022
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. options:
  2. p: &8[&eStats&8]
  3. p3: &8[&3Stats&8]
  4.  
  5. variables:
  6. {kills.%player%} = 0
  7. {deaths.%player%} = 0
  8.  
  9. on death:
  10. add 1 to {kills.%attacker%}
  11. add 1 to {deaths.%victim%}
  12.  
  13. command /stats [<text>]:
  14. trigger:
  15. if arg 1 is not set:
  16. message "&7---&c[&6stats&c]&7---"
  17. message "{@p3} &7Kills&8: &a%{kills.%player%}%"
  18. message "{@p3} &7Deaths&8: &c%{deaths.%player%}%"
  19. message "&7---&c[&6stats&c]&7---"
Advertisement
Add Comment
Please, Sign In to add comment