#Magiczny kocioł #LPM on leftclick: if name of player's tool is "&5&lMagiczny Kociol": set {czas::%player%::kociol1} to difference between {uzycie::%player%::kociol1} and now if {czas::%player%::kociol1} is less than 30 seconds: send "&cMusisz odczekac &7%difference between 30 seconds and {czas::%player%::kociol1}% &cprzed nastepnym uzyciem" else: set {uzycie::%player%::kociol1} to now drawDot count 15, particle "cloud", XYZ 1.2, 1.2, 1.2, center location of player's head, visibleRange 100, keepFor 3 ticks wait 1 tick apply invisibility without particles to player for 10 seconds on damage: {potwor::%attacker%} is true {wojownik::%victim%} is true attacker has invisibility: remove invisibility from attacker #PPM on rightclick: if name of player's tool is "&5&lMagiczny Kociol": set {czas::%player%::kociol2} to difference between {uzycie::%player%::kociol2} and now if {czas::%player%::kociol2} is less than 90 seconds: send "&cMusisz odczekac &7%difference between 90 seconds and {czas::%player%::kociol2}% &cprzed nastepnym uzyciem" cancel event else: set {uzycie::%player%::kociol2} to now wait 1 tick set player's tool to cauldron named "&5&lMagiczny Kociol" on place: "%event-block%" is "CAULDRON": wait 2 ticks if name of player's tool is "&5&lMagiczny Kociol": wait 1 tick set {kocioł::%event-block%} to true loop 10 times: drawDot count 20, particle "witchspell", XYZ 0.8, 0.8, 0.8, center location of event-block, visibleRange 100, keepFor 1 second loop all players in radius 10 of event-block: if {wojownik::%loop-player%} is true: apply weakness to loop-player for 5 seconds wait 5 seconds delete {kocioł::%event-block%} set event-block to air on break: event-block is cauldron {kocioł::%event-block%} is true: cancel event on click: {kocioł::%clicked block%} is true {potwor::%player%} is true: set {czas::%player%::kociol3} to difference between {uzycie::%player%::kociol3} and now if {czas::%player%::kociol3} is less than 20 seconds: send "&cMusisz odczekac &7%difference between 20 seconds and {czas::%player%::kociol3}% &cprzed nastepnym uzyciem" else: set {uzycie::%player%::kociol3} to now apply regeneration 2 to player for 5 seconds send "&dNapiłeś się z magicznego kotła! Zostałeś uleczony!" to player