Bonjour voila se que tu a dit !
command /taxe:
permission: president.taxe
trigger:
open chest with 1 row named "Taxe" to player
wait 1 tick
format slot 0 of player with quartz block named "1%%" to close then run [set {taxe} to 1]
format slot 1 of player with quartz block named "2%%" to close then run [set {taxe} to 2]
format slot 2 of player with quartz block named "3%%" to close then run [set {taxe} to 3]
format slot 3 of player with quartz block named "4%%" to close then run [set {taxe} to 4]
format slot 4 of player with quartz block named "5%%" to close then run [set {taxe} to 5]
every 15 minutes:
loop all players:
set {_argenttaxe} to balance of player * {taxe} / 100
remove {_argenttaxe} from balance of player