Isharo

[Skript] GameCowDeath

Jul 28th, 2015
852
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. on death:
  2.     victim is a cow:
  3.         broadcast "&e%attacker% &e+ 1 points !"
  4.         add 1 to {cow.points.%attacker%}
  5.         if {cow.points.%attacker%} is more than 9:
  6.             broadcast "&6%attacker% a tué 10 vaches, on recommence!"
  7.             loop all players:
  8.                 clear {cow.points.%loop-player%}
  9.            
  10. command /points:
  11.     trigger:
  12.         if {cow.points.%player%} is not set:
  13.             send "&7Vous avez &a0 points."
  14.         else:
  15.             send "&7Vous avez &a%{cow.points.%player%}% points."
Advertisement
Add Comment
Please, Sign In to add comment