#Tutaj ustaw se limity. options: koxy: 5 #pamietaj 5 to 4 refile: 17 #pamietaj 13 to 12 zawsze musisz dawac 1 wiecej perly: 4 #pamietaj 4 to 3 #Ile razy ma loopowac? jezeli nie wiesz o co chodzi to zostaw. options: looptime: 1000 #Wiadomosci na czacie. options: textkox: &cMiales za duzo koxow w eq limit to, %{@koxy}% reszta twoich koxow zostala przeniesiona do /schowek! textrefile: &cMiales za duzo refile w eq limit to, %{@refile}% reszta twoich refili zostala przeniesiona do /schowek! textperly: &cMiales za duzo perel w eq limit to, %{@perly}% reszta twoich perel zostala przeniesiona do /schowek! #Inne. options: namegui: &6&lSchowek #KOD on eat golden apple:1: wait 4 tick if player has {@koxy} golden apple:1: send "{@textkox}" if player has {@koxy} golden apple:1: loop {@looptime} times: remove 1 golden apple:1 from player add 1 to {sch.koxy.%player%} stop on eat golden apple:0: wait 4 tick if player has {@refile} golden apple:0: send "{@textrefile}" if player has {@refile} golden apple:0: loop {@looptime} times: remove 1 golden apple:0 from player add 1 to {sch.refile.%player%} stop on rightclick on ender pearl: wait 4 tick if player has {@perly} ender pearl: send "{@textperly}" if player has {@perly} ender pearl: loop {@looptime} times: remove 1 ender pearl from player add 1 to {sch.perly.%player%} stop #KOMENDY command /schowek []: trigger: if arg 1 is not set: open chest with 1 rows named "{@namegui}" to player wait 2 tick format slot 0 of player with black glass named "&f" to run [execute player command "schowek"] format slot 2 of player with black glass named "&f" to run [execute player command "schowek"] format slot 3 of player with black glass named "&f" to run [execute player command "schowek"] format slot 5 of player with black glass named "&f" to run [execute player command "schowek"] format slot 6 of player with black glass named "&f" to run [execute player command "schowek"] format slot 8 of player with black glass named "&f" to run [execute player command "schowek"] format slot 1 of player with golden apple:1 named "&6&lKoxy" with lore "&8» &7W schowku: &c%{sch.koxy.%player%}%||&8» &7Limit: %{@koxy}-1%" to run [execute player command "schowek koxy"] format slot 4 of player with ender pearl named "&6&lPerly" with lore "&8» &7W schowku: &c%{sch.perly.%player%}%||&8» &7Limit: %{@perly}-1%" to run [execute player command "schowek perly"] format slot 7 of player with golden apple:0 named "&6&lRefile" with lore "&8» &7W schowku: &c%{sch.refile.%player%}%||&8» &7Limit: %{@refile}-1%" to run [execute player command "schowek refy"] stop if arg 1 is "koxy": close player's inventory set {_a} to {sch.koxy.%player%} loop {_a} times: remove 1 from {sch.koxy.%player%} if player can hold 1 golden apple:1: give 1 golden apple:1 to player else: drop 1 golden apple:1 at player if arg 1 is "refy": close player's inventory set {_a} to {sch.refile.%player%} loop {_a} times: remove 1 from {sch.refile.%player%} if player can hold 1 golden apple:0: give 1 golden apple:0 to player else: drop 1 golden apple:0 at player if arg 1 is "perly": close player's inventory set {_a} to {sch.perly.%player%} loop {_a} times: remove 1 from {sch.perly.%player%} if player can hold 1 ender pearl: give 1 ender pearl to player else: drop 1 ender pearl at player #TEGO NIE RUSZAJ. on join: if {sch.koxy.%player%} is not set: set {sch.koxy.%player%} to 0 set {sch.refile.%player%} to 0 set {sch.perly.%player%} to 0 stop