variables:
{money} = 0
command /balance:
aliases: /bal
trigger:
send "&aYou have %{money}% &ain your bank!"
command /pay <player> <integer>:
trigger:
if {money} >= arg-integer:
subtract arg-integer from {uuid::%player%::money}
add arg-integer to {uuid::%arg-player%::money}
else:
send "You don't have enough money!" to player
every 1 second:
loop all players:
add 1 to {{uuid::%loop-player%}::money}
This doesn't work at all as all the money is the same as 1 person and it doesn't give any money at all! Please help. Thank you!