on right click on bone: loop all players: add loop-player to {_gracze::*} wait tick set {_strony} to rounded up (size of {_gracze::*}) /26 set {_strona} to 1 open chest with 3 rows named "&4&n&lGracze" to {_g} wait 2 ticks if {_strona} parsed as number <= {_strony}: set {_max} to {_strona} parsed as number*26 set {_min} to {_max} - 26 set {_num} to size of {_areny::*} loop {_gracze::*}: add 1 to {_slot} if {_slot} is between {_min} and {_max}: if {_slot} <= {_num}: if {_slot} is not 22: format slot {_slot}-1 of player with 1 of loop-value's head of enchanting named "&a&l%loop-value%" with lore "Kliknij aby sie tp'nac" to close then run "sudo %player% tp %player% %loop-value%"