Advertisement
SuzukazeK

Untitled

Sep 6th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. on death:
  2. set {_tags::*} to scoreboard tags of victim
  3. loop {_tags::*}:
  4. if loop-value contains "TIN":
  5. set {_valueG} to loop-value
  6. replace "TIN" with "" in {_valueG}
  7. set {fgold.%attacker%} to {_valueG} parsed as number
  8. message "&6+ %{fgold.%attacker%}%Gold" to attacker
  9. command "scoreboard players add %attacker% allmoney %{allgold.%attacker%}%"
  10. delete {fgold.%attacker%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement