variables: {otworz::%player%} = 0 on right click of enchant table: if {otworz::%player%} = 0: add 1 to {otworz::%player%} if {otworz::%player%} > 0: cancel event send "&6Nie mozesz tego otworzyc, odczekaj chwile" every 1 second: loop all players: if {otworz::%player%} > 0: remove 1 from {otworz::%player%}