Advertisement
Heio

Untitled

Feb 25th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. on damage of player:
  2. attacker is a player
  3. set {attacker.%victim%} to "%attacker%"
  4.  
  5. on death of player:
  6. {attacker.%victim%} is set
  7. add 1 to {kills.%{attacker.%victim%}%}
  8. broadcast "&8[&bEnch&9Genz&8] &7» &c%victim%&7 was killed by &c%{attacker.%victim%}%"
  9. set {_coins} to random integer between 2 and 5
  10. send "&6+%{_coins}% coins. Use them in the store!" to ("%{attacker.%victim%}%" parsed as a player)
  11. add {_coins} to ("%{attacker.%victim%}%" parsed as a player)'s balance
  12. delete {attacker.%victim%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement