Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- set {_tags::*} to scoreboard tags of victim
- loop {_tags::*}:
- if loop-value contains "TIN":
- set {_valueG} to loop-value
- replace "TIN" with "" in {_valueG}
- set {fgold.%attacker%} to {_valueG} parsed as number
- message "&6+ %{fgold.%attacker%}%TIN" to attacker
- command "scoreboard players add %attacker% allmoney %{fgold.%attacker%}%"
- delete {fgold.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement