``on sneak toggle:
set {goliath} to event-player
{goliath} is not sneaking
loop lore of event-player's held item:
if loop-value is "&7&oIt only takes one to end a war":
set {w} to difference between now and {superaxe.%player's uuid%.lastSneak}
if {w} is greater than 5 seconds:
send action bar "&7Cooldown:&2 Active" to {goliath}
set {w} to now
loop entities in radius 5 around {goliath} where [input is not {goliath}]:
set {_pitch} to a random integer from 1 to 0.5
play sound "entity.warden.sonic_boom" at volume 2 and pitch 7 at {goliath}
set {vector} to vector between {goliath} and loop-entity
push loop-entity up at speed 0.5
wait 1 tick
push loop-entity {vector} at speed 1
else:
while event-player is player:
if {w} is less than 5 seconds:
wait 0.1 seconds
send action bar "&7Cooldown:&c %difference between now and {superaxe.%player's uuid%.lastSneak}%" to {goliath}``