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