Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- attacker is a player
- send "Attacker is a player" to attacker
- victim is a villager
- send "Victim is a villager" to attacker
- cancel event
- send "Opening" to attacker
- open victim's inventory to attacker
- send "Open" to attacker
- if victim's inventory contains 1 dirt:
- add 10 to {money.%uuid of attacker%}
- remove 1 dirt from victim's inventory
- command /skmoney:
- trigger:
- send "%{money.%uuid of player%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement