on death of player: send "&a&lPrzyszly dusze na konto!" to attacker add 1 to {gracza.dusze.%attacker%} stop command /dusze: trigger: send "&e&lMasz obecnie %{gracza.dusze}% dusz!" to player command /dusze10: permission: dusze.admin permission message: &c&lCo? Nie... trigger: send "&c&lWyslano dusze" to player add 10 to {gracza.dusze.%player%} on click on a wither skeleton: execute player command "duszesklep" command /duszesklep: trigger: open chest with 1 rows named "&e&lDusze!" to player wait 1 tick format slot 4 of player with 1 of 397 named "&e&lOddaj 10 dusz za 10 Coins!" to run [execute player command "duszeoddaj"] command /duszeoddaj: trigger: if {gracza.dusze.%player%} is bigger than or equal to 10: remove 10 from {gracza.dusze.%player%} execute console command "economy give %player% 10" else: send "&c&lMasz za malo dusz, aby sprawdzic dusze uzyj &f&l/dusze" to player on join: if {gracza.dusze.%player%} is not set: set {gracza.dusze.%player%} to 0